Start-VM -VM VM -Confirm -RunAsyncAsynchronously starts the virtual machine named VM. Before initializing the task, asks for confirmation. Related Commands VM Get-VM This cmdlet retrieves the virtual machines on a vCenter Server system.
(Task task) at Docker.ApiServices.StateMachines.StartTransition.<DoRunAsync>d__5.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 67 --- End of stack trace from previous location where exception was thrown ...
I am trying to restart a service with a background job since restart-vmhostservice does not support runasync restartvmhostservice.ps1 $vmhosts = get-datacenter -name xx | get-vmhost $vmhosts | get-vmhostservice | ?{$_.key -eq "TSM-SSH"} | Restart-VMHostService -confirm:$false ...