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

Capture a Network Trace Without Netmon

If you need to capture a Network Trace from a server or client that doesn’t have Netmon or any other network monitoring software installed, you can use netsh to capture the trace (Windows 7/2008 R2 or higher). Once captured you can then copy it to another “tools” machine with such tools as Netmon or Wireshark … Read more