The -Entity parameter requires a PowerCLI inventory object as value and does not accept names. You can try it like this:
Get-AlarmActionState -Entity (Get-VM -Name VMTEST1) -Recurse:$false
The -Entity parameter requires a PowerCLI inventory object as value and does not accept names. You can try it like this:
Get-AlarmActionState -Entity (Get-VM -Name VMTEST1) -Recurse:$false