Script to Start Multiple Virtual Machines

visibility 662 access_time 4y languageEnglish

The following is a PowerShell code snippet to start multiple VMs through vmplayer.exe:

# Navigate to the folder where vmplayer.exe file exists
cd "D:\Program Files (x86)\VM Player"
# Start the VMs by using vmplayer.exe
<# vmplayer.exe command help
vmplayer.exe [OPTION…] [–] [configuration file]
where OPTIONS are:
-v show program version
-X Enter full screen mode when a virtual machine is powered on
-U Enter Unity when a virtual machine is powered on
-s NAME=VALUE Set Preference variable NAME to VALUE
.\vmplayer.exe "D:\VMs\vm1.vmx"
.\vmplayer.exe "D:\VMs\vm2.vmx"
.\vmplayer.exe "D:\VMs\vm3.vmx"

The locations need to be changed based on your setup.

info Last modified by Raymond 4y copyright This page is subject to Site terms.

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts

timeline Stats
Page index 0.49
local_offer Tags