Created
November 13, 2015 17:00
-
-
Save olivielpeau/071e380e6a38256203b6 to your computer and use it in GitHub Desktop.
Running a wmi query from powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$query = "Select Name,PercentInterruptTime,Timestamp_Sys100NS,Frequency_Sys100NS from Win32_PerfRawData_PerfOS_Processor" | |
Get-WmiObject -Query $query |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment