Import-Counter - Powershell 2.0 CmdLet
Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.
More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.
Short description Imports performance counter log files (.blg, .csv, .tsv) and creates the objects that represent each counter sample in the log. Syntax Import-Counter [-Path] <string> [-Counter <string>] [-EndTime <DateTime>] [-MaxSamples <Int64>] [-StartTime <Da teTime>] [<CommonParameters>] Import-Counter [-Path] <string> -ListSet <string> [<CommonParameters>] Import-Counter [-Path] <string> -Summary <switch> [<CommonParameters>] Description The Import-Counter cmdlet imports performance counter data from performance counter log files and creates objects f or each counter sample in the file. The PerformanceCounterSampleSet objects that it creates are identical to the ob jects that Get-Counter returns when it collects performance counter data. You can import data from comma-separated value (.csv), tab-separated value ( .tsv), and binary performance log (.bl g) performance log files. If you are using .blg files, you can import multiple files (up to 32 different files) in each command. And, you can use the parameters of Import-Counter to filter the data that you import. Along with Get-Counter and Export-Counter, this feature lets you collect, export, import, combine, filter, manipula te, and re-export performance counter data within Windows PowerShell.