VMware Cloud Community
tdubb123
Expert
Expert

powercli to restart /sbin/services.sh on esxi 6.5 host

do I have to use plink to restart /sbin/services.sh on esxi 6.5 host?

0 Kudos
1 Reply
LucD
Leadership
Leadership

I'm afraid so, use plink.exe or any other ssh utility (with PowerShell Core (v6) you can now also use OpenSSH).
But be aware that you are cutting of the branch on which you are sitting, as the SSH service will also be restarted.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos