Executing commands in a VM via powershell

I got to thinking today that when you tell a VM to shutdown the OS, it is actually executing a command against the VM itself, not just in VMware. I decided to do a little searching to see what it takes to do something similar with other commands (such as srvinfo, or listing disk usage) and started googling.I came across this interesting post that describes how to change a VMs IP address using the Invoke-VMScript powershell command.http://www.virtu-al.net/2010/02/05/powercli-changing-a-vm-ip-address-with-invoke-vmscript/A little more searching and I found the following page that lists several other powershell functions to interact with guest VMs. Copy-VMGuestFile and Invoke-VMScript are 2 particularly interesting ones.http://www.amikkelsen.com/?p=357

2 thoughts on “Executing commands in a VM via powershell

  • December 21, 2016 at 4:10 pm

    At the risk of making a suggestion you probably already know, I also want to point out that you don't have to walk the journey alone. Having a top 10 essay writing services strong and healthy support group, whether they be family, good friends, or counselors, can empower you along the way.

Leave a Reply