Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Use PowerShell Active Directory Cmdlets Without Installing Any Software

Summary: Learn how to use Windows PowerShell remoting to manage user objects without installing software on the client.   (image) Hey, Scripting Guy! I was reading your article about using the Microsoft Active Directory Windows PowerShell cmdlets, and it looks really cool. The problem is that I do not want to install the Windows Remote ...

BATCHman Uses PowerShell to Identify and Unlock User Accounts

Summary: BATCHman shows how to use Windows PowerShell to locate and unlock user accounts in Active Directory.   Microsoft Scripting Guy Ed Wilson here. In the continuing saga of the world’s first Windows PowerShell superhero, BATCHman, and his faithful sidekick, Cmdlet, I once again present Windows PowerShell MVP and Honorary ...

Use PowerShell to Find Locked-Out User Accounts

Summary: Use a one-line Windows PowerShell command to find and unlock user accounts.   (image) Hey, Scripting Guy! I am trying to find users who are locked out. For example, I have a number of users who log on only occasionally. They constantly lock themselves out. I have seen some VBScripts to search for locked out user accounts, and ...

Use Active Directory Cmdlets with PowerShell to Find Users

Summary: Learn about the Microsoft Active Directory Windows PowerShell cmdlets, and use them to find active and disabled users.   (image) Hey, Scripting Guy! I am wondering what the best way is to use Windows PowerShell to work with Active Directory. I have seen all different methods talked about on the Internet, and many of them require ...

BATCHman Faces the Distractful Poker and Recovers Deleted Active Directory Items

Summary: In today’s gripping episode, BATCHman squares off with the Distractful Poker and recovers items deleted from Active Directory Domain Services using Windows PowerShell.   Microsoft Scripting Guy Ed Wilson here. Windows PowerShell MVP Sean Kearney is with us again today with part 3 of the BATCHman series. (image) Whenever ...