Scripting. Powershell, VMware, Windows, Active Directory & Exchange. All that kind of stuff…..
RSS icon Email icon Home icon
  • PowerShell 2.0: One Cmdlet at a Time #29 Import-Counter

    Posted on January 5th, 2010 Jonathan Medd No comments

    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!

    Leave a reply