activities
latest
false
UiPath logo, featuring letters U and I in white

IT Automation Activities

Last updated Mar 28, 2025

Import VM

UiPath.HyperV.Activities.ImportVM

Description

Imports a virtual machine.

Project compatibility

Windows - Legacy | Windows

Configuration

Common
  • DisplayName - The display name of the activity.
Destination
  • Location - Indicates a different storage location for the virtual machine than the default one configured for the virtualization server. This field supports only strings and String variables.
  • StorageFolder - Indicates a different storage location for the hard disk than the default one configured for the virtualization server. This field supports only strings and String variables.
  • VMName - Indicates the name of the virtual machine after import. If not set, it uses the name of the source virtual machine. This field supports only strings and String variables.
Input
  • CheckpointFolder - Specifies the fully qualified path of the folder where the checkpoint configurations for the virtual machine can be found. This field supports only strings and String variables.
  • ImportType - Specifies the type of the import that should be performed. The possible values are Restore and Copy. The default value is None.
  • VhdFolder - Specifies the full path to the folder where virtual hard disks for the virtual machine are stored. This field supports only strings and String variables.
  • VMFile - Specifies the full path of the virtual machine file that should be imported. This field supports only strings and String variables.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
  • VirtualMachine - Provides the details about the virtual machine.

Note: The VMFile parameter provides the path to a virtual machines' configuration file (.vmcx or .xml). This type of file represents the virtual machine that needs to be imported and should not be in use while running this activity.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
© 2005-2025 UiPath. All rights reserved.