Ok, it seems we were talking about two different things.
What you want to do can be done from a PowerCLI script.
Something like this
$alarmMgr = Get-View AlarmManager
$cluster = Get-Cluster MyCluster
# To disable alarm actions
$alarmMgr.EnableAlarmActions($cluster.Extensiondata.MoRef,$false)
# To enable alarm actions
$alarmMgr.EnableAlarmActions($cluster.Extensiondata.MoRef,$true)
The same can be done for an ESX(i) host
$alarmMgr = Get-View AlarmManager
$esx = Get-VMHost MyEsx
# To disable alarm actions
$alarmMgr.EnableAlarmActions($esx.Extensiondata.MoRef,$false)
# To enable alarm actions
$alarmMgr.EnableAlarmActions($esx.Extensiondata.MoRef,$true)
Sorry about the confusion :smileyhappy: