Powercli command to find whether SSH service is Running on ESXI.
Get-VMHost | Get-VMHostService | Where { $_.Key -eq "TSM-SSH" } |select VMHost, Label, Running
or
Get-VMHost | Foreach {
Start-VMHostService -HostService ($_ | Get-VMHostService | Where { $_.Key -eq "TSM-SSH"} )
}
Hope it is useful !
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment