Many times we have used Linux or Windows based VM’s (Virtual Machines) and we tend to install software to try out something. Particularly on Windows VM’s you may have to restart the VM for the changes to take effect. But most of often when the VMs are provisioned, the ‘Shutdown’ or ‘Restart’ menu items are not enabled or visible. How else could one restart the VM without having to contact support and wait for some one to help?
We can use windows command line to initiate a shutdown or restart.
1. Windows VM
2. Access to cmd