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
start-job -filename restartvmhostservice.ps1
the job says it completed sucessfully but i do not see a task or the service being restarted
any idea?