CmdID / PowerShell / Cmdlets / Import
Import-VM
Imports a virtual machine from a file. Windows Server PowerShell reference
From the Windows Server PowerShell reference 16 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSessionRuns the cmdlet in a remote session or on a remote computer.-CompatibilityReportSpecifies a compatibility report which resolves any incompatibilities between the virtual machine and the Hyper-V host.-ComputerNameSpecifies one or more Hyper-V hosts from which the virtual machine is to be imported.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CopySpecifies that the imported virtual machine's files should be copied to the server's default locations, as opposed to registering the virtual machine in-place.-CredentialSpecifies one or more user accounts that have permission to perform this action.-GenerateNewIdSpecifies that the imported virtual machine should be copied and given a new unique identifier.-PathSpecifies the path to the exported virtual machine to be imported.-RegisterSpecifies that the imported virtual machine is to be registered in-place, as opposed to copying its files to the server's default locations.-SmartPagingFilePathSpecifies the new path to use for a smart paging file, if one is needed.-SnapshotFilePath, -CheckpointFileLocation, -SnapshotFileLocationSpecifies the path for any snapshot files associated with the virtual machine.-VhdDestinationPathSpecifies the folder to which the virtual machine's VHD files are to be copied.-VhdSourcePathSpecifies the folder from which the virtual machine's VHD files are to be copied.-VirtualMachinePathSpecifies the path where the virtual machine configuration files are to be stored.-WhatIf, -wiShows what would happen if the cmdlet runs.