While I haven't tested this, maybe this will put you on the right track for automation:
$VM = Get-VM -Name "MyVM"
$Spec = [VMware.Vim.VirtualMachineConfigSpec]::new()
$Spec.PowerOpInfo = [VMware.Vim.VirtualMachineDefaultPowerOpInfo]::new()
$Spec.PowerOpInfo.StandbyAction = "powerOnSuspend"
$VM.ExtensionData.ReconfigVM($Spec)
$VM.UpdateViewData()
$VM.ExtensionData.Config.DefaultPowerOps.StandbyAction
I think the VMs have to be powered off first, haven't tested, that part is yours....
EDIT: I just tested it does work, but the VM I used was powered off, and a live VM said, power off first.