SHARE
TWEET

Untitled

benkow_ May 25th, 2017 31 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Usage: vmrun [AUTHENTICATION-FLAGS] COMMAND [PARAMETERS]
  2.  
  3. AUTHENTICATION-FLAGS
  4. --------------------
  5. These must appear before the command and any command parameters.
  6.    -h <hostName>  (not needed for Workstation)
  7.    -P <hostPort>  (not needed for Workstation)
  8.    -T <hostType> (ws|server|server1|fusion|esx|vc|player)
  9.      for example, use '-T server' for Server 2.0
  10.                   use '-T server1' for Server 1.0
  11.                   use '-T ws' for VMware Workstation
  12.                   use '-T ws-shared' for VMware Workstation (shared mode)
  13.                   use '-T esx' for VMware ESX
  14.                   use '-T vc' for VMware vCenter Server
  15.    -u <userName in host OS>  (not needed for Workstation)
  16.    -p <password in host OS>  (not needed for Workstation)
  17.    -vp <password for encrypted virtual machine>
  18.    -gu <userName in guest OS>
  19.    -gp <password in guest OS>
  20.  
  21. POWER COMMANDS           PARAMETERS           DESCRIPTION
  22. --------------           ----------           -----------
  23. start                    Path to vmx file     Start a VM or Team
  24.                          [gui|nogui]
  25. stop                     Path to vmx file     Stop a VM or Team
  26.                          [hard|soft]
  27. reset                    Path to vmx file     Reset a VM or Team
  28.                          [hard|soft]
  29. suspend                  Path to vmx file     Suspend a VM or Team
  30.                          [hard|soft]
  31. pause                    Path to vmx file     Pause a VM
  32. unpause                  Path to vmx file     Unpause a VM
  33.  
  34. SNAPSHOT COMMANDS        PARAMETERS           DESCRIPTION
  35. -----------------        ----------           -----------
  36. listSnapshots            Path to vmx file     List all snapshots in a VM
  37.                          [showTree]
  38.  
  39. snapshot                 Path to vmx file     Create a snapshot of a VM
  40.                          Snapshot name
  41.  
  42. deleteSnapshot           Path to vmx file     Remove a snapshot from a VM
  43.                          Snapshot name
  44.                          [andDeleteChildren]
  45.  
  46. revertToSnapshot         Path to vmx file     Set VM state to a snapshot
  47.                          Snapshot name
  48.  
  49. GUEST OS COMMANDS        PARAMETERS           DESCRIPTION
  50. -----------------        ----------           -----------
  51. runProgramInGuest        Path to vmx file     Run a program in Guest OS
  52.                          [-noWait]
  53.                          [-activeWindow]
  54.                          [-interactive]
  55.                          Complete-Path-To-Program
  56.                          [Program arguments]
  57. fileExistsInGuest        Path to vmx file     Check if a file exists in Guest OS
  58.                          Path to file in guest
  59. directoryExistsInGuest   Path to vmx file     Check if a directory exists in Guest OS
  60.                          Path to directory in guest
  61. setSharedFolderState     Path to vmx file     Modify a Host-Guest shared folder
  62.                          Share name
  63.                          Host path
  64.                          writable | readonly
  65. addSharedFolder          Path to vmx file     Add a Host-Guest shared folder
  66.                          Share name
  67.                          New host path
  68. removeSharedFolder       Path to vmx file     Remove a Host-Guest shared folder
  69.                          Share name
  70. enableSharedFolders      Path to vmx file     Enable shared folders in Guest
  71.                          [runtime]
  72. disableSharedFolders     Path to vmx file     Disable shared folders in Guest
  73.                          [runtime]
  74. listProcessesInGuest     Path to vmx file     List running processes in Guest OS
  75. killProcessInGuest       Path to vmx file     Kill a process in Guest OS
  76.                          process id
  77. runScriptInGuest         Path to vmx file     Run a script in Guest OS
  78.                          [-noWait]
  79.                          [-activeWindow]
  80.                          [-interactive]
  81.                          Interpreter path
  82.                          Script text
  83.  
  84. deleteFileInGuest        Path to vmx file     Delete a file in Guest OS
  85. Path in guest
  86. createDirectoryInGuest   Path to vmx file     Create a directory in Guest OS
  87. Directory path in guest
  88. deleteDirectoryInGuest   Path to vmx file     Delete a directory in Guest OS
  89. Directory path in guest
  90. CreateTempfileInGuest    Path to vmx file     Create a temporary file in Guest OS
  91. listDirectoryInGuest     Path to vmx file     List a directory in Guest OS
  92.                          Directory path in guest
  93. CopyFileFromHostToGuest  Path to vmx file     Copy a file from host OS to guest OS
  94. Path on host             Path in guest
  95.  
  96. CopyFileFromGuestToHost  Path to vmx file     Copy a file from guest OS to host OS
  97. Path in guest            Path on host
  98.  
  99. renameFileInGuest        Path to vmx file     Rename a file in Guest OS
  100.                          Original name
  101.                          New name
  102. captureScreen            Path to vmx file     Capture the screen of the VM to a local file
  103. Path on host
  104. writeVariable            Path to vmx file     Write a variable in the VM state
  105.                          [runtimeConfig|guestEnv|guestVar]
  106.                          variable name
  107.                          variable value
  108. readVariable             Path to vmx file     Read a variable in the VM state
  109.                          [runtimeConfig|guestEnv|guestVar]
  110.                          variable name
  111. getGuestIPAddress        Path to vmx file     Gets the IP address of the guest
  112.                          [-wait]
  113.  
  114. GENERAL COMMANDS         PARAMETERS           DESCRIPTION
  115. ----------------         ----------           -----------
  116. list                                          List all running VMs
  117. upgradevm                Path to vmx file     Upgrade VM file format, virtual hw
  118. installTools             Path to vmx file     Install Tools in Guest
  119. checkToolsState          Path to vmx file     Check the current Tools state
  120. register                 Path to vmx file     Register a VM
  121. unregister               Path to vmx file     Unregister a VM
  122. listRegisteredVM                              List registered VMs
  123. deleteVM                 Path to vmx file     Delete a VM
  124. clone                    Path to vmx file     Create a copy of the VM
  125.                          Path to destination vmx file
  126.                          full|linked
  127.                          [-snapshot=Snapshot Name]
  128.                          [-cloneName=Name]
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top