Scripting Blog [archived]

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

Use PowerShell to Simplify Collecting Performance Information

 Summary: Learn how to use Windows PowerShell to simplify collecting performance information from your servers. (image) Hey, Scripting Guy! We are having performance problems with several of our servers. It is really strange, because if you were to look at the specifications, you would think they are awesome boxes. What I need to do is ...

Provide Progress for Your Script with a PowerShell Cmdlet

Summary: Learn how to provide progress for your Windows PowerShell script using a simple cmdlet.   Microsoft Scripting Guy Ed Wilson here. I have spent much of the weekend working on games for the 2011 Scripting Games. I am almost ready to make an announcement about the dates. It will happen this coming week, so stay tuned. As is usually...

Add a Progress Bar to Your PowerShell Script

  Summary: Microsoft Scripting Guy Ed Wilson shows you how to add a progress bar to your script.   Microsoft Scripting Guy Ed Wilson here. I was sitting in the kitchen reflecting on how much nicer things are nowadays than they used to be even a few years ago. For example, the Scripting Wife and I have a computer in our kitchen. The ...

Use PowerShell to Toggle the Archive Bit on Files

  Summary: Learn how to use Windows PowerShell to toggle file attributes such as the archive bit. (image) Hey, Scripting Guy! I have a number of files that have had the archive bit flipped. Unfortunately, our backup program relies on the archive bit to determine if it has backed up a file recently or if a file has changed and is in ...