Run SCCM client actions on remote machines using PowerShell script

It probably takes some time to run SCCM client actions on all machines in your environment. It’s getting more complicated when you have only server core machines. This is why I decided to write a PowerShell function for that. SCCM client actions Most common client schedule actions Hardware Inventory Cycle Software Inventory Cycle Discovery Data Collection Cycle (Send DDR) Machine Policy Retrieval & Evaluation Cycle Software Updates Deployment Evaluation Cycle …

PowerShell Tip of the Week: Uninstall SCCM client

Today’s short tip is about SCCM client uninstall process. One of the tasks for complete client removal is, of course, running ccmsetup.exe uninstall command. To do this for a bunch of servers we can use Invoke-Command. Uninstall SCCM client On the beginning its worth to check if ccmsetup.exe file exists on the affected machine. To verify this we are going to use Test-Path command which will return “True” of “False” value: File selection can be done using System.Windows.Form feature called OpenFileDialog: …

PowerShell Tip of the Week: Get SCCM client version remotely

In Todays tip you will find out how to check SCCM client version. To get this information we will use Get-WMIObject command. SCCM client version Information about SCCM client version is located under SMS_Client class in root\ccm namespace: You can also check SCCM client version remotely on servers from txt file list: To make the output look better we can use the following script.

How to gather SCCM device collections

If you was working with System Center family, you know purpose of SCCM device collections from SCCM. For those who didn’t have a chance to deal with this I strongly reccomend to read article https://technet.microsoft.com/en-us/library/gg682177.aspx. System Center Configuration Manager console allows user to check all collections to which specific device belongs. What in case that customer want to have a list of collections for some reports? Of course you can …