Update Rollup

Get SCOM update rollup version remotely

Checking SCOM update rollup version using console is pretty simple. Things are getting a little bit complicated if we want to get this from server. Using WMI or PowerShell commands like Get-Hotfix probably we will not get this information. Update Rollup To check this locally we have to get FileVersion for OMAgentTraceTMFVer.Dll file. Each version is assosiated with one of the Update Rollups. For more information you can visit System …

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 exist on affected machine. To verify this we are going to use Test-Path command which will return “True” of “False” value: …

Approve SCOM pending agents via PowerShell

Recently I had to approve several SCOM pending agents in my environment. Of course I won’t do this manually so I started searching for the answers on internet 🙂 . I found SCOM module command called Approve-SCOMPendingManagement and I decided to create a script based on that and share it with you. Remember that you need appropriate permission to approve servers in pending management. SCOM pending agents Approving single server …

Check SCOM Maintenance Mode history for multiple servers

Some time ago I posted short article about how to check SCOM Maintenance Mode history for single machine. Today I would like to share with you a little bit more advanced script which helps to check multiple servers. SCOM Maintenance Mode history To get above output we need to run the script on SCOM server. Remember that not all maintenance mode history information can be found there. It will show …

PowerShell Tip of the Week: Get SCOM agent version remotely

In this short article you will find out how to get SCOM agent version. You can also check one of the previous articles about Microsoft Monitoring agent where you can check how to get other useful information like SCOM group name or management server. SCOM agent version If you have admin right in Operations Manager console then you can check this directly from SCOM server: Another way is to logon …

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.

Get Microsoft Monitoring Agent settings remotely

Today I want to show you how to get Microsoft Monitoring Agent settings remotely using PowerShell function. This might be useful when you need to scan all servers in large scale environment to determine that configuration has been set properly. The Microsoft Monitoring Agent The Microsoft Monitoring Agent is a service used to watch and report on application and system health on a Windows computer. The Microsoft Monitoring Agent collects …

How to check SCOM Maintenance Mode history (version 2)?

Few months ago I added here simple script for checking SCOM maintenance mode history – link. I decided to adjust it a little bit and convert it into more advanced function. To get SCOM maintenance mode history remotely for some specific server basically we can run just this command: Usage: Function will create an object for each server and add it to $Results array. Object will contains the following properties: …

List registry key values for Microsoft Antimalware software (FEP)

Below you can find useful script for checking registry key values from remote machines. In this example we will extract information for Microsoft Anitmalware software (FEP). Script will gather following information: – Log message – Log time – Signatures Last Updated – EngineVersion – AVSignatureVersion – ASSignatureVersion First two checks are for MpCmdRun log file: %windir%\temp\MpCmdRun.log – Activity when performing scans and signature updates Output in console: To get information …

How to change SCSM connector schedule

Have you ever wonder how to change SCSM connector schedule? System Center Service Manager is relatively young product in System Center family. Functionality is not so good like in SCCM or SCOM and for some tasks we need to use Powershell. The critical functionality which is not available in SCSM GUI is adjustment of connector schedule. Todays function gives a possibility to change SCSM connector schedule which is already created. …