Vmrun -gu guestUser -gp guestPassword runScriptInGuest Win10.vmwarevm/Win10.vmx -interactive "C:\perl\bin\perl.exe" "system('notepad.exe') "
#ADD VMNET2 VMWARE FUSION MAC WINDOWS#
Run a script on a Windows guest, with Perl as the script interpreter.Vmrun -gu guestUser -gp guestPassword runProgramInGuest Win10.vmwarevm/Win10.vmx -activeWindow -interactive cmd.exe Start the command tool on a Windows guest as an active window on the desktop.Vmrun -gu guestUser -gp guestPassword runProgramInGuest Win10.vmwarevm/Win10.vmx -interactive cmd.exe Start the command tool, minimized, on a Windows guest.Most vmrun guest operations require VMware Tools to be installed on the guest operating system. Sudo vmrun setPortForwarding vmnet 1.1.1.2 88 portforwarding-description Add a port forwarding on a host network with examples provided of the host network name, protocol, host port, guest IP address, guest port, and description.
Vmrun addNetworkAdapter Win10.vmwarevm/Win10.vmx nat