Get Servers’ Models with WMI
08 2nd, 2010 |
If your boss said to collect information about servers’ models for upgrading it’s RAM or HDD you can use this script with help of WMI.
#getting all computers with win2k8, you can use *2003* for win2k3
Get-QADComputer -osName *2008* | foreach `
#if they are pinging