Finding disabled user accounts in Active Directory Domain Services
http://technet.microsoft.com/en-us/library/ee176949.aspx#EEAA I f Get-ExecutionPolicy returns restricted you are3 not able to run powershell scripts : PS C:\> c:\locatedisabledusers.ps1 File C:\locatedisabledusers.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please se e “get-help about_signing” for more details. At line:1 char:27 + c:\locatedisabledusers.ps1 <<<< + CategoryInfo : NotSpecified: (:) [], PSSecurityException + … Read more