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 […]
PowerShell – SCCM Cmdlet Library “Get-CMDeviceCollection : Specified cast is not valid.”
UPDATE: This issue has been resolved in the latest version here https://www.microsoft.com/en-us/download/details.aspx?id=46681 While doing some SCCM automation we bumped into an issue with the SCCM Cmdlet Library 5.0.8249.1128. When you try to execute a workflow using PowerShell Remoting in SMA like this… After some investigation we could not determine the cause of it, so the […]
SCOM 2016 – What’s New UNIX/Linux Series: Monitors and Rules Running (Any) Script e.g. Perl
One new feature I am very excited about is to run any sort of script on the UNIX/Linux agent. In SCOM 2012 R2 you had the option to run shell commands for performance rules and monitors. In SCOM 2012 R2 the monitor dialog looks like this… …and the rules wizard shows options for creating shell […]