I don't need that code, but I have my shortcut (or task) set to run as admin.
If you always shut down the VM, your code is much simpler. I pop on and off of my VM frequently, so I close the...
Type: Posts; User: SteveFL99
I don't need that code, but I have my shortcut (or task) set to run as admin.
If you always shut down the VM, your code is much simpler. I pop on and off of my VM frequently, so I close the...
I took the powershell code and added to it so that it will start a VM from any state and then gives you options on how you want to shut it down. You can use a shortcut (to powershell or a task, as...
Actually, I have found that you only need the .ps1 file. You can run it from a shortcut and get the same behavior. Just make a shortcut to the powershell executable and then go to the shortcut's...
Thanks for this. It was just what I was looking for. But note that it has some errors due to missing line breaks.
In the second file (.cmd), the first line should be broken into three lines: ...