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

Trigger SCCM Client Actions Remotely

Sometimes you just need a quick way to trigger SCCM Client Actions remotely and you don’t want to have to build a Collection and wait for it to update before using Right-Click tools to do it. PowerShell Method WMIC Method (deprecated) Script Example For a full list of available Client Action Triggers see: