languageEnglish

Script to Start Multiple Virtual Machines

visibility 609 comment 0 access_time 4 years ago

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 4 years ago copyright This page is subject to Site terms.

Subscribe newsletter

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts

More from Kontext

visibility 47
thumb_up 0
access_time 3 years ago
visibility 110
thumb_up 0
access_time 3 years ago
visibility 55
thumb_up 0
access_time 2 months ago