Related Articles
SCOM 2012 – Export Grey Agents using Powershell
There was a request in the TechNet forum to get all grey agents in SCOM 2012 using Powershell and export the Displayname and HealthState into a file. Because I haven’t seen a solution I thought I will share these few lines of code maybe you can use them also. #Import the OperationsManager module Import-Module OperationsManager […]
SCOM 2012 R2 – New PowerShell Cmdlets
I like to play around with PowerShell and I am always looking for new cmdlets Microsoft creates for us. Isn’t it like getting Christmas gifts all the time :)? Today I wanted to find out if there are any new gifts in SCOM 2012 R2 (Preview). For a reference I will compare a SCOM 2012 […]
SCSM – Set Work Item State / Activity State via PowerShell
I do currently a lot of automation and today I had a need to change state of a service request. The service request itself was “Closed” and as you might know, you cannot change anything if the work item is set to “Closed”. Because I needed to trigger the runbook activities behind the service request […]