Script to Start Multiple Virtual Machines

visibility 701 access_time 5 years ago 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 5 years ago 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.48
More from Kontext
Export CSV File from Azure SQL Databases
visibility 1,151
thumb_up 0
access_time 10 months ago
List environment variables in PowerShell
visibility 74
thumb_up 0
access_time 3 years ago