Powershell Command : Get-Counter
http://technet.microsoft.com/en-us/library/hh849685.aspx
However, read the data from Get-Counter is not a easy way, so I wrapped it up with several functions and put them into a powershell module : osperfmon.psm1
you can download it from
https://docs.google.com/file/d/0B4Xde9z-OME1ZHhEZG8tS3h4Sms/edit?usp=sharing
Here is the steps to run it
1.Setup the module.
- Download the osperfmon.psm1, Copy it to local drive
- Open powershell window, and import the module
- List the available function
2. Get Function detail.
You can get the function help with "Get-Help -detailed", for instance
Get-Help Get-CPUPerf -Detailed
Here is the sample for each function:
1. Get-CPUPerf
2. Get-DiskPerf
3. Get-MemoryPerf
4. Get-NetPerf
5. Get-ProcessPerf
your suggestion and advice are welcomed. thanks
Nice tutorial and very informative and helpful post for all of the designers.
ReplyDeleteDell - 15.6" Inspiron Laptop - 6GB Memory - 750GB Hard Drive