external help file | Module Name | online version | schema |
---|---|---|---|
Hyper-V_Cmdlets.xml |
Hyper-V |
2.0.0 |
Enables migration on one or more virtual machine hosts.
Enable-VMMigration [[-ComputerName] <String[]>] [-Passthru]
The Enable-VMMigration cmdlet enables migration on one or more virtual machine hosts.
PS C:\>Enable-VMMigration
Enables live migration on the local Hyper-V host.
Specifies one or more Hyper-V hosts on which migration is to be enabled.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: .
Accept pipeline input: False
Accept wildcard characters: False
Specifies that a Microsoft.Virtualization.Powershell.Host object is to be passed through to the pipeline representing each virtual machine host on which migration is to be enabled.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Default
If -PassThru is specified.