The “Hey, Scripting Guys!” blog has been retired. There are many useful posts in this blog, so we keep the blog here for historical reference. However, some information might be very outdated and many of the links might not work anymore.
New PowerShell content is being posted to the PowerShell Community blog where members of the community can create posts by submitting content in the GitHub repository.
Scripting Blog [archived]
Formerly known as the "Hey, Scripting Guy!" blog
Latest posts

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. When the digital crash In a blink and a splash A gleam in the night To make all wrongs right Our heroes fly out And there is no doubt That evil will fall true At the sight of the blue The one and only .NET duo—BATCHman and Cmdlet. It’s a nice morning. BATCHman is playing with a new test module he has been encoding to stop criminals directly with Windows PowerShell. &ldqu...