Scripting Blog [archived]

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

Restore NTFS Security Permissions by Using PowerShell

Summary: Superhero BATCHman restores NTFS security permissions using Windows PowerShell.   Microsoft Scripting Guy Ed Wilson here. Well, it is time once again for BATCHman. This time, it is Episode 12. Take it away, Sean. (image) When the digital crash In a blink and a splash A gleam in the night To make all wrongs right Our heroes fly ...

Use PowerShell and Regular Expressions to Parse Handle Output

Summary: Windows PowerShell superhero BATCHman uses regular expressions to parse output from handle.   Microsoft Scripting Guy Ed Wilson here. Today we have Episode 10 of the BATCHman series.  (image) Whenever trouble happens in systems and people will call, and darkness rolls out causing your fall, Creatures of bits roam in the ...

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 Manage Office 365

Summary: BATCHman battles The Consultant and uses Windows PowerShell to manage Office 365 easily.   Microsoft Scripting Guy Ed Wilson here. Sean Kearney brings us Episode 8 of the BATCHman series today.   (image) Whenever trouble happens in systems and people will call, And darkness rolls out causing your fall, Creatures of bits ...