Work on PAL v2.0 (PowerShell version) is coming along nicely. While working on it, I created a functional proof of concept PowerShell script called Bling.ps1 which will read a performance monitor log (BLG or CSV) and will create graphical charts for all of the counters in it. PAL v1.x only creates charts and stats for performance counters named in the threshold files, so this is a new feature. Oh, and BLING stands for BLg INto imaGes. 🙂
Bling.ps1 v1.0 (Proof of Concept for PAL 2.0)
No installation is required, but dependent, free, products are required.
Required Products (free):
- PowerShell v1.0 or greater.
- Microsoft .NET Framework 3.5 Service Pack 1
- Microsoft Chart Controls for Microsoft .NET Framework 3.5
Bling.ps1 /LOG:[AbsolutePathToPerfmonLog[;AbsolutePathToPerfmonLog] /OUTPUTDIR:[AbsolutePathToOutputDirectory]
Note: Use full, absolute paths in each of the arguments.
.\Bling.ps1 /LOG:C:\Users\clinth\Documents\SamplePerfmonLog.blg /OUTPUTDIR:C:\Users\clinth\Documents\Output
See the Readme.txt file for more details.
Note: Be sure to set PowerShell to unrestricted access by typing the following command in an elevated PowerShell command prompt:
Special Thanks to Greg Varveris for his help with understanding the Microsoft Chart Controls for Microsoft .NET Framework 3.5.
All my posts are provided "AS IS" with no warranties, and confer no rights. For PFE Job Opportunities at Microsoft, please visit our website at: http://members.microsoft.com/careers/search/default.aspx - search for keyword “PFE”
“PFE: The best place to be at Microsoft”