Thanks. Can i use Enable-SCOMrule to create new rules instead of override?
Operation Manager
Does SCOM Powershell allow us to create or modify SCOM rules?
3 additional answers
Sort by: Most helpful
-
Leon Laude 85,726 Reputation points
2020-10-02T14:57:39.417+00:00 HI @TAN HAN LIM ,
You can use the Enable-SCOMRule PowerShell cmdlet to create and enable overrides in rules, the following TechNet Wiki guide might also be helpful:
SCOM 2012: Bulk Override Creation for Monitors and Rules using PowerShell
https://social.technet.microsoft.com/wiki/contents/articles/30714.scom-2012-bulk-override-creation-for-monitors-and-rules-using-powershell.aspx----------
(If the reply was helpful please don't forget to upvote or accept as answer, thank you)
Best regards,
Leon -
TAN HAN LIM 116 Reputation points
2020-10-02T15:04:48.61+00:00 Can I modify existing rules that created by myself?
-
CyrAz 5,181 Reputation points
2020-10-02T15:15:02.633+00:00 Have a look at Tao Yang's OpsMgrExtended module : https://blog.tyang.org/2015/06/24/automating-opsmgr-part-1-introducing-opsmgrextended-powershell-sma-module/