Scripting Blog

A place to learn about PowerShell and share stories of automation

Create a Really Cool PowerShell ISE Profile

Summary: Learn how to create a powerful Windows PowerShell ISE profile by running a single script.   Microsoft Scripting Guy Ed Wilson here. One of the problems with writing a daily blog is that after a while, you end with a huge collection of articles and scripts. When I got a new laptop, and immediately left the country, I was ...

Modify the PowerShell ISE to Remove Aliases from Scripts

Summary: In this weekend scripter blog, learn how to modify the Windows PowerShell ISE so that it automatically removes aliases from a script. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, here. The PowerShell Deep Dive in Las Vegas, Nevada was a real treat. The Scripting Wife and I both enjoyed meeting all of the people in real life ...

Add Code Snippets to Your Script by Using the PowerShell ISE

Summary: Learn how to modify the Windows PowerShell ISE to automatically add code snippets.   Microsoft Scripting Guy Ed Wilson here. There are advantages and disadvantages to using multiple computers. One of the advantages is that I get to see where I have assumed a dependency on some particular thing that I did not know existed. ...

Use PowerShell to Download and Install Internet Code Snippets

  Summary: Learn how to use Windows PowerShell to download code snippets from the Internet and install them for use in the Windows PowerShell ISE.   Microsoft Scripting Guy Ed Wilson here. It seems as if there is an old song that rather describes things right now. It goes somewhat like this: The weather outside is frightful, But the ...

Use PowerShell to Parse Saved Performance Counter Logs

Summary: Learn how to use the Import-Counter cmdlet in Windows PowerShell to parse saved performance counter log files. Hey, Scripting Guy! We have configured a series of custom performance monitor logs that run as scheduled tasks and collect monitoring information. The problem is that I never seem to have time to run Performance Monitor to ...