Scripting Blog [archived]

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

Create Your Own PowerShell Rules for ScriptCop

Summary: James Brundage teaches how to create your own Windows PowerShell rules for ScriptCop.   Microsoft Scripting Guy Ed Wilson here. Today, we have part two (including the conclusion) to the article begun by James Brundage yesterday. Take it away, James!   Writing your own ScriptCop rules Yesterday, I introduced you to ScriptCop...

Use ScriptCop to Help Write Better PowerShell Scripts

Summary: Learn about using the free tool called ScriptCop to help write better Windows PowerShell scripts.   Microsoft Scripting Guy Ed Wilson here. This weekend we have a two-part series from James Brundage. Take it away, James! Getting started with ScriptCop One of the problems with a new and rapidly changing technology such as Windows ...

Create and Parse Performance Monitor Logs with PowerShell

Summary: Learn how to create and parse performance monitor logs by using Windows PowerShell.   (image) Hey, Scripting Guy! I am wondering if I can use Windows PowerShell to create a performance counter log that I can use in Perfmon?   —CS   (image) Hello CS, Microsoft Scripting Guy Ed Wilson here. After I finished giving ...

Use Performance Counter Sets and PowerShell to Ease Baselining

Summary: Microsoft Scripting Guy Ed Wilson teaches how to use performance counter sets with Windows PowerShell to simplify profiling a system.   (image) Hey, Scripting Guy! I am wondering if there is an easier way to work with performance counters? For example, rather than having to pick out a whole bunch of counters, are there groups of ...

Capture Performance Counter Data and Write to SQL Server

Summary: Learn how to use Windows PowerShell to capture performance counter information and write the saved data to a SQL Server database.   (image) Hey, Scripting Guy! I have been enjoying your PoshMon articles this week, but I have found them to be of limited value. I would love to see how I could store this performance data in a SQL ...