Scripting Blog [archived]

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

Use PowerShell 5.0 to create temporary files in the temp folder

Summary: Microsoft Scripting Guy Ed Wilson talks about using Windows PowerShell 5.0 on Windows 10 to create temporary files in the temporary folder.   Sometimes it is the little things that make life easier. You know, like a cereal bar … it’s not like a major technological breakthrough but it is much more convenient than getting a ...

Use PowerShell 5 to empty the recycle bin

Summary: Microsoft Scripting Guy Ed Wilson talks about using Windows PowerShell 5.0 to empty the recycle bin on Windows 10   It seems that now days when I talk to someone about Windows PowerShell 5.0 they get all excited and go on and on about Desired State Configuration (DSC). Now, I will agree, DSC is awesome. DSC rocks! Even on ...

Using the new PowerShell ISE transcript tool

Summary: Ed Wilson, Microsoft Scripting Guy, talks about using the new Windows PowerShell 5.0 ISE Transcript tool.   One of my favorite features for Windows PowerShell has always been the transcript tool. I mean, it seems like it was made for Windows PowerShell … I guess it was. What am I talking about? Well, one of my favorite ways ...

PowerTip: Find your version of PowerShell

Summary: Learn how to find your Windows PowerShell version easily. (image)  How can I use Windows PowerShell to tell me what version of Windows PowerShell I am running? (image)  Use the $PsVersionTable automatic variable. To see the major, minor, build, and revision of Windows PowerShell, use the following: $PSVersionTable.PSVersion (image...

Control management pack updates between MS OMS and Operations Manager

Summary: Learn how to disable automatic management pack updates from MS OMS to Operations Manager and limit updates to a specific time window. Hi all, Brian Wren here. I usually spend my time writing documentation for TechNet and Azure.com, but I’ve been hearing about an issue from a few customers that I wanted to address. We’re going to...