Scripting Blog [archived]

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

Weekend Scripter: Why Does PowerShell Hide Stuff?

Summary: Microsoft Scripting Guy, Ed Wilson, talks about how Windows PowerShell decides what to display. Microsoft Scripting Guy, Ed Wilson, is here. This morning I received an email from a friend with whom I used to work a long time ago. (He was one of the reviewers on the WMI book I wrote in the VBScript days.) Here is his email: (image) &...

What's Up with the Crazy PowerShell Formatting?

Summary: Microsoft Scripting Guy, Ed Wilson, talks about calculating properties in output. (image)  Hey, Scripting Guy! Dude, I’ve got a question. I read your Hey, Scripting Guy! Blog every day. In fact, most times, I read it twice a day. One thing you do all the time, and I don’t understand, is that you send something to, ...

Use PowerShell to Write Verbose Output

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to write verbose output.   (image)  Hey, Scripting Guy! The other day, you said that I should not use Write-Host. I even read that such usage is dangerous to the health of small canines in 2012 Scripting Games Commentary: STOP USING WRITE-HOST!. —...