Related Articles
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 […]
Simple script which checks the modified time (hours) of a log file
Recently I had to monitor a backup log file. If the modification time stamp of the log file was later than at a certain time then SCOM should fire a warning. In my case if the file was modified later than at 05:00 o’clock (24-hour time notation) an alert should occur. There was no characteristic […]
SCOM 2012 – Discovery Wizard running forever
I experienced in a relatively small environment that the Discovery Wizard in SCOM 2012 is running forever. I rejected some pending agents which were discovered properly but stayed in a “Installation in progress” state. After I rejected these agents and wanted to re-discover these servers the Discovery Wizard kept runnig forever.