Vmware command line start / stop hosts or maintenance mode

Ok it’s rare that I need to do this from the command line but it’s possible from the vMA:

Shutdown host:

vicfg-hostops --server server_name --username user_name --password pass_word --operation shutdown

Reboot host:

vicfg-hostops --server server_name --username user_name --password pass_word --operation reboot

Enter Maintenance mode:

vicfg-hostops --server server_name --username user_name --password pass_word --operation enter

Exit Maintenance mode:

vicfg-hostops --server server_name --username user_name --password pass_word --operation exit

Info on Maintenance mode:

vicfg-hostops --server server_name --username user_name --password pass_word --operation info

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.