Scripting Blog [archived]

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

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

Two Powerful Tricks for Finding PowerShell Scripts

Summary: Microsoft Scripting Guy Ed Wilson shares two powerful tricks for finding Windows PowerShell scripts.   (image) Hey, Scripting Guy! I am wondering if you have any cool ways to help me find the scripts I have written. I have quite a few scripts in my scripts folder, but opening Windows Explorer and searching through them is slow, ...

Use PowerShell to Automatically Create a CSV File

Summary: Learn how to use Windows PowerShell to automatically create a CSV file.   Microsoft Scripting Guy Ed Wilson here. I am about finished playing around with CSV files for the time being. I do not always use the ConvertTo-CSV or the Export-CSV cmdlet. There are times that I write code and create my own CSV file from scratch. An ...