Start/Stop/Policy change for SSH in vCenter – All hosts connected _ Ginka’s Worl…
Start/Stop/Policy change for SSH in vCenter –…
Connect-VIServer x.x.x.x $All_Hosts = Get-VMHost$SSH_Service = get-VMHostService -VMHost $All_Hosts | where {$_.Label -eq „SSH“} #Start/Stop $SSH_Service Stop-VMHostService -HostService $SSH_Service Start-VMHostService -HostService $SSH_Service #Change Startup Policy Write-Host -ForegroundColor [..]
Hinterlasse einen Kommentar