RMS server name as parameter to monitor.
-
Monday, June 11, 2012 9:54 AM
Hi,<o:p></o:p>
i have developed a PowerShell script base monitoring to query scom server for alert
details from multiple unite monitors, as dependency monitor will not provide details
of unite monitor failed on alert.<o:p></o:p>I need to pass scom RMS server name as parameter to the script dynamically, but i do not
have any idea how to do this task, as there is no $target parameter for RMS server name.<o:p></o:p>please help me in this regard.<o:p></o:p>
thanks <o:p></o:p>
sridhar v
All Replies
-
Tuesday, June 12, 2012 8:53 AM
If you need to run scripts at RMS server, you just need to select as target class Microsoft.SystemCenter.RootManagementServer and return to command line $Target/PrincipalName$ value.
- Marked As Answer by Yog LiModerator Thursday, June 28, 2012 9:54 AM
-
Tuesday, June 12, 2012 9:11 AMModerator
Hi,
Maybe I misunderstand your intention, but you may refer to the following article, it would give your some hints:
Run Powershell Scripts without configuring RMS Name every time
Alex Zhao
TechNet Community Support
- Marked As Answer by Yog LiModerator Thursday, June 28, 2012 9:54 AM

