get-wmiobject sql join in powershell - trying to find physical memory vs. virtual memory of remote s
Posted
by Willy
on Stack Overflow
See other posts from Stack Overflow
or by Willy
Published on 2010-05-12T04:26:31Z
Indexed on
2010/05/12
7:14 UTC
Read the original article
Hit count: 205
get-wmiobject -query "Select TotalPhysicalMemory from Win32_LogicalMemoryConfiguration" -computer COMPUTERNAME >>output.csv
get-wmiobject -query "Select TotalPageFileSpace from Win32_LogicalMemoryConfiguration" -computer COMPUTERNAME >>output.csv
I am trying to complete this script with an output as such:
Computer Physical Memory Virtual Memory
server1 4096mb 8000mb
server2 2048mb 4000mb
© Stack Overflow or respective owner