Ran into one more issue with the service account that I am using.
Exception calling "EnableAlarmActions" with "2" argument(s): "Permission to perform this operation was denied."
At line:1 char:1
+ $alarmMgr.EnableAlarmActions($vm.Extensiondata.MoRef,$false)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : VimException
What permissions are needed to execute this? It works when I log in as an Administrator but would like to give as little access to the service account as possible.