I'm trying to get the MM history of some servers. We are running SCOM 2007 R2 on server 2008 R2.
I've read through all these:
http://social.technet.microsoft.com/Forums/systemcenter/en-US/eba09e9d-801e-4eed-b278-d50ce2e5d033/maintenance-mode-history?forum=operationsmanagergeneral
http://techibee.com/powershell/powershell-how-to-get-the-scom-maintenance-mode-history-of-a-computer/1326
http://www.greypixel.nl/?p=209
As well as the technet on Get-MaintenanceWindow.
This code doesn't return any data for me when I run it in the SCOM shell. and when I run it in basic PowerShell with the snapin added it says it cant find the path. I've tried adding the -Path parameter with "OperationsManagerMonitoring::" But that doesn't seem to want to give. Any ideas?
- Get on the floor, do that dinosaur