Well same script works for you, and doesn’t works in ManagementPack script. The only different is you are running in LocalSystem account, which is very common in SCOM. The fix solution is easy too: Either deploy your script to:
Set $env:PSModulePath add your module path before Import-Module call.
$env:PSModulePath = $env:PSModulePath + “;C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell"
Yes, I am having trouble import […]
SCOMTypeView is a tool help MPAuthor visualize ManagementPackClass, ManagementPackRelationship, showing them in treeview. The most important, you can see how the specific MonitoringObject is connected with other MonitoringObject. This tool connect to your local ManagementGroup, showing real data in time. There is another tool MPBExtractor, helps you unpack .mp and .mpb file. Hope you […]
Since SCOM 2012 beta released, and a key feature is make everything Highly Available: 1. Make SCOM itself Highly Available. By remove RMS and make MS works peer to peer, unless all MS shutdown your SCOM still works. 2. Make Monitoring Highly Available. By add new concept Resource Pool, make remote monitoring highly Available. Remote Monitoring […]
Welcome to ManagementPack Document Site This is a site allows you find all kinds of MP element and see how it defined, if you are working with SCOM MP, it might help you. Like a developer could find class information on MSDN, you can find MP information on this site.Especially bring convenience to MP author, […]
This is a temporary post that was not deleted. Please delete this manually. (c0fe3223-48b4-4b4b-a1d5-d088feba15db – 3bfe001a-32de-4114-a6b4-4005b770f6d7)