How can we help?
{{docApp.searchError}}
{{product.name}}
Searching in {{docApp.searchFilterBySpecificBookTitle}}
{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}}
in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.
You have an odd number of " characters in your search terms - each one needs closing with a matching " character!
-
{{resultItem.title}}
{{resultItem.url}}
{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}
{{docApp.libraryHomeViewProduct.description}}
{{group.title || group.id}}
{{group.description}}
Operation Information
This operation will move a Hyper-V Virtual Machine. See the Move-VM documentation for more information: https://docs.microsoft.com/en-us/powershell/module/hyper-v/move-vm?view=win10-ps
Input Parameters
Name | Type | Description | Required | Sensitive |
---|---|---|---|---|
VMName |
string |
The name of the Virtual Machine | Yes | No |
HostName |
string |
Optionally provide the Hyper-V host to perform the action on. NetBIOS names, IP addresses, and fully qualified domain names are allowable | No | No |
DestinationHost |
string |
Destination Host | No | No |
IncludeStorage |
boolean |
Specifies that both the virtual machine and its storage are to be moved | Yes | No |
DestinationStoragePath |
string |
Destination Storage Path | No | No |
ResourcePoolName |
string |
Resource Pool Name | No | No |
RetainVhdCopiesOnSource |
boolean |
Retain parent virtual hard disks on the source computer | Yes | No |
RemoveSourceUnmanagedVhds |
boolean |
Indicates that Hyper-V deletes the parent virtual hard disk on the source after this operation moves a differencing virtual hard disk, when the migration is finished | Yes | No |
Output Parameters
Name | Type | Description | Required | Sensitive |
---|---|---|---|---|
outcome |
string |
Outcome of the operation. Can be OK, WARN or FAIL | Yes | No |
errors |
string |
Any errors returned by the operation | No | No |
warnings |
string |
Any warnings returned by the operation | No | No |
- Version {{docApp.book.version}}
- Node {{docApp.node}} / {{docApp.build}}
In This Document