Finding disabled user accounts in Active Directory Domain Services 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

Books Windows PowerShell™ Scripting Guide Published: January 16, 2008 Accompanying Media: 1 Companion CD(s) Author: Ed Wilson Language: English Length: 688 Pages Level: N/A ISBN 13: 9780735622791 Technology: Windows Server 2008 ISBN 10: 0-7356-2279-5 Format: Paperback List Price: $ 49.99 Windows Server 2008 Security Resource Kit (PRO – Resource Kit) Windows Server® 2008 Resource … Read more

Remove print drivers from Windows 7

You can remove print drivers that are not associated with a local printer or connection using the printui.exe tool in an admin elevated command prompt type printui /s /t2 Be sure to remove the driver AND the package.

Windows Instrumentation command-line interface (WMIC)

By using the Windows Instrumentation command-line interface (WMIC), you can easily uninstall an application without having to use the GUI. Once you become familiar with the steps, it will be much faster than having to access the Add/Remove Programs applet in the Control Panel. 1. In a command prompt type WMIC and press Return. You … Read more