Scripting Blog [archived]

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

Beat the Auditors, Be One Step Ahead with PowerShell

Summary: Microsoft PFE, Georges Maheu, opens his security assessment toolbox to discuss a Windows PowerShell script he uses to look at Windows services. Microsoft Scripting Guy, Ed Wilson, is here. Our guest blogger today is Georges Maheu. Georges is one of my best friends, and I had a chance to work with him again during my recent Canadian ...

Use PowerShell to Print Output Without Installing Print Drivers

Summary: Use Windows PowerShell to print output from commands without installing print drivers. Microsoft Scripting Guy, Ed Wilson, is here. If I have not said it recently, the Scripting Wife is cool! She is also a really good sport. Why do I say this? We are stuffed into the very back of a large airplane as we fly back from a Windows ...

Use PowerShell to Choose a Specific Number of Random Letters

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use the Windows PowerShell Get-Random cmdlet to choose a specific number of random letters. Microsoft Scripting Guy, Ed Wilson, is here. With the advent of the New Year, I am hard at work on the 2012 Scripting Games. This year there will be several improvements. I always learn from each...

Use PowerShell to Pause a Script While Another Process Exits

Summary: Learn how to use Windows PowerShell to pause a script and wait for another process to exit before continuing. (image) Hey, Scripting Guy! I am attempting to use Windows PowerShell to shut down an application, but the application is rather complicated. I need to stop one process, and wait for that process to complete before starting ...