Get Model and Serial Number via PowerShell
A simple script to get some basic server info via PowerShell This script retrieves info from the appropriate WMI class and inserts it into a variable and then outputs it to the host and CompInfo.txt file. Basic Commands: Get-WmiObject -ComputerName localhost -Namespace root\cimv2 -Class Win32_ComputerSystem | Select-Object Model Get-WmiObject -ComputerName localhost -Namespace root\cimv2 -Class Win32_SystemEnclosure … Read more