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

Remove SCCM Distribution Point Role

If you work in a large SCCM/MECM environment you may run into a time when all of your remote Distribution Points need to be replaced with new servers for a hardware refresh. Servers are built with the latest OS, boxed up and shipped and then installed on-site at their new locations. Once they’re there, you … Read more