By using this site, you acknowledge that you have read and understand our Cookie policy, Privacy policy and Terms .
close

PowerShell, Bash, ksh, sh, Perl and etc. 

rss_feed Subscribe RSS

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 at 2 years ago
info About author

info License/Terms

Please log in or register to comment. account_circle Log in person_add Register
comment Comments (0)
No comments yet.