Quantcast
Channel: VMware Communities : Discussion List - ESXi
Viewing all articles
Browse latest Browse all 8132

Shutdown VMs & Esxi via command line with plink fails

$
0
0

I found a command which graciously shuts down my VMs then the ESXi host itself, via plink. The command is - /sbin/shutdown.sh && /sbin/poweroff

If I start a normal putty ssh session then manually issue the command it works perfectly. But if I run it via 'plink' (which logs in without requiring interaction) the command also appears to run fine and it shuts down the VMs perfectly, but for some reason it doesnt properly shut down the ESXi host, but instead the host is still pingable, but the terminal screen shows the ESXi status although when I press F2 I get an error 'direct console access has been disabled by the administrator' My only option then is to plug the power cord. Is it in some kind of maintenance mode instead?, or suspend? Why does it only do this when I run the command via plink?


Viewing all articles
Browse latest Browse all 8132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>