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


Find GPO's applied to a computer if the gpresult /r and rsop.msc failed to load due to permission

How to see the group policies applied to a computer if the gpresult /r and rsop.msc failed to load due to domain permission Run the command ...