Wednesday, March 28, 2018

Unable to Import-Modules in Powershell

I got the below error while I was trying to import Active Directory Module on Powershell





Before loading Active Directory module on to your local machine, make sure  Windows Administrative Tool is installed.

The above issue is occurred due to the execution policy was not set.

For testing, I have set the execution policy to unrestricted and I was able to import the Active Directory module


No comments:

How to Install RSAT on Windows 11 - 23H2

 Run Powershell as Admin Change the following registry key that manages the Windows Update source. HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Micr...