do I have to use plink to restart /sbin/services.sh on esxi 6.5 host?
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