Hi guys
Could you help me write a script on powerCLI for enabling all "Alarm Definitions" with target type "Datacenters" and "Clusters"
I can just enable all "Alarm Definitions"
Get-AlarmDefinition | foreach {$_ | Set-AlarmDefinition -Enabled:$false}
Thank you in advance.