Scripting Blog [archived]

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

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 ...

Convert Hexadecimal to ASCII Using PowerShell

Summary: Superhero BATCHman defeats evil Hextor and converts hexadecimal to ASCII to retrieve passwords.   Microsoft Scripting Guy Ed Wilson here. Sean Kearney is back again, and this time he delivers Episode 7 of the BATCHman series.   (image) Whenever trouble happens in systems and people will call, And darkness rolls out causing ...

Use PowerShell to Pick Random Winning Users from Text

Summary: Learn how to use Windows PowerShell to select random winners from a text file.   (image) Hey, Scripting Guy! I have a question. It is neither a vital server performance issue nor is it a dramatic process optimization revelation, but it is something that will make my life a lot easier. First the background: I have been going to ...

Learn How to Save PowerShell Objects for Offline Analysis

Summary: Learn how to use Windows PowerShell to save objects for later offline analysis.   (image) Hey, Scripting Guy! I have a problem. I am trying to examine processes that are consuming resources on my computer. The problem is that when I use the Get-Process cmdlet, my results keep changing before I have a chance to examine thoroughly ...