Had to come up with a list of machines and their CPU, disk info etc. Thought it better to make a small script for it.
1 2 3 4 5 |
"Machine1","Machine2","Machine3", | %{ "===$_==="; Get-WmiObject -CN $_ -Class Win32_ComputerSystem | ft @{Name="Physical CPUs"; Expr={$_.NumberofProcessors}}, @{Name="Logical CPUs"; Expr={$_.NumberOfLogicalProcessors}}, @{Name="RAM (GB)"; Expr={$_.TotalPhysicalMemory/1GB}; FormatString="F1"} -AutoSize Get-WmiObject -CN $_ -Class Win32_LogicalDisk | ft DeviceID,@{Name="DiskFree (GB)"; Expr={$_.FreeSpace/1GB}; FormatString="F1"}, @{Name="DiskSize (GB)"; Expr={$_.Size/1GB}; FormatString="F1"} -AutoSize; } |
Hope it helps someone.