Jonathan Medd's Blog
Scripting. Powershell, VMware, Windows, Active Directory & Exchange. All that kind of stuff…..
-
PowerShell 2.0: One Cmdlet at a Time #29 Import-Counter
Posted on January 5th, 2010 No commentsContinuing the series looking at new cmdlets available in PowerShell 2.0. This time we look at the Import-Counter cmdlet.
What can I do with it?
Create objects by importing performance data in BLG, CSV or TSV files.
Example:
Import as objects data in a BLG file previously exported from Export-Counter or the Performance Monitor GUI.
$performancedata = Import-Counter -Path Memory.blg
How could I have done this in PowerShell 1.0?
To manage performance data contained in a BLG file you could have used the Performance Monitor GUI to import it and view the contents.
Leave a reply









