external help file | Module Name | online version | schema |
---|---|---|---|
SCVMReliableMigration-help.xml |
SCVMReliableMigration |
2.0.0 |
Initially an internal function, contains code necessary to process a powered down VM. It might become handy in case you want to migrate just a single powered down VM, w/o worrying about its network settings.
Move-SCPoweredDownVirtualMachine [-VM] <VM> [-VMHost] <Host> [-Path] <String> [<CommonParameters>]
Initially an internal function, contains code necessary to process a powered down VM. It might become handy in case you want to migrate just a single powered down VM, w/o worrying about its network settings.
$VM = Get-SCVirtualMachine -Name 'SRVDC01' -VMMServer SRVVMM01
Move-SCPoweredDownVirtualMachine -VM $VM -DestinationVMHost (Get-SCVMHost -ComputerName SRVHV02 -VMMServer SRVVMM01) -Path 'D:\VirtualMachines'
Migrates a virtual machine SRVDC01 to a Hyper-V host SRVHV02, placing them into the "D:\VirtualMachines" folder.
A virtual machine object which you would like to migrate.
Type: Microsoft.SystemCenter.VirtualMachineManager.VM
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
A VMHost object of a Hyper-V host where you want to migrate virtual machines.
Type: Microsoft.SystemCenter.VirtualMachineManager.Host
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
A location on the destination host where virtual machines should be stored.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).