PowerShell 2.0: One Cmdlet at a Time 29 Import-Counter

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

1000 things 1% better!