Adoray

cores2

Sep 12th, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. $computers = Get-Content "C:\Users\rmisener\ownCloud\Indy\Apps\!Scripts & Registry Hacks\PowerShell\Get-WMI-Cores\serverlist.txt"
  2. $cpu = @(Get-WmiObject -Class Win32_processor)
  3. $results = gwmi win32_processor -computer $computers
  4. $results | export-csv -notype c:\tests\server\cores1.csv
Advertisement
Add Comment
Please, Sign In to add comment