Section courante

A propos

Section administrative du site

Move-VM

Déplacement de machine virtuelle
PowerShell

Syntaxe

Move-VM [-ComputerName String[]] [-Credential PSCredential[]] [-Name] String [-DestinationHost] String [-DestinationCredential PSCredential] [-IncludeStorage] [-DestinationStoragePath String] [-ResourcePoolName String] [-RetainVhdCopiesOnSource] [-RemoveSourceUnmanagedVhds] [-AsJob] [-Passthru] [-WhatIf] [-Confirm] [CommonParameters]
Move-VM [-CimSession CimSession[]] [-Name] String [-DestinationCimSession] CimSession [-IncludeStorage] [-DestinationStoragePath String] [-ResourcePoolName String] [-RetainVhdCopiesOnSource] [-RemoveSourceUnmanagedVhds] [-AsJob] [-Passthru] [-WhatIf] [-Confirm] [CommonParameters]
Move-VM [-CimSession CimSession[]] [-Name] String [-DestinationCimSession] CimSession -VirtualMachinePath String [-SnapshotFilePath String] [-SmartPagingFilePath String] [-Vhds Hashtable[]] [-ResourcePoolName String] [-RetainVhdCopiesOnSource] [-RemoveSourceUnmanagedVhds] [-AsJob] [-Passthru] [-WhatIf] [-Confirm] [CommonParameters]
Move-VM [-ComputerName String[]] [-Credential PSCredential[]] [-Name] String [-DestinationHost] String [-DestinationCredential PSCredential] [-VirtualMachinePath String] [-SnapshotFilePath String] [-SmartPagingFilePath String] [-Vhds Hashtable[]] [-ResourcePoolName String] [-RetainVhdCopiesOnSource] [-RemoveSourceUnmanagedVhds] [-AsJob] [-Passthru] [-WhatIf] [-Confirm] [CommonParameters]
Move-VM [-CompatibilityReport] VMCompatibilityReport [-AsJob] [-Passthru] [-WhatIf] [-Confirm] [CommonParameters]
Move-VM [-VM] VirtualMachine [-DestinationCimSession] CimSession [-IncludeStorage] [-DestinationStoragePath String] [-ResourcePoolName String] [-RetainVhdCopiesOnSource] [-RemoveSourceUnmanagedVhds] [-AsJob] [-Passthru] [-WhatIf] [-Confirm] [CommonParameters]
Move-VM [-VM] VirtualMachine [-DestinationHost] String [-DestinationCredential PSCredential] [-IncludeStorage] [-DestinationStoragePath String] [-ResourcePoolName String] [-RetainVhdCopiesOnSource] [-RemoveSourceUnmanagedVhds] [-AsJob] [-Passthru] [-WhatIf] [-Confirm] [CommonParameters]
Move-VM [-VM] VirtualMachine [-DestinationHost] String [-DestinationCredential PSCredential] [-VirtualMachinePath String] [-SnapshotFilePath String] [-SmartPagingFilePath String] [-Vhds Hashtable[]] [-ResourcePoolName String] [-RetainVhdCopiesOnSource] [-RemoveSourceUnmanagedVhds] [-AsJob] [-Passthru] [-WhatIf] [-Confirm] [CommonParameters]
Move-VM [-VM] VirtualMachine [-DestinationCimSession] CimSession -VirtualMachinePath String [-SnapshotFilePath String] [-SmartPagingFilePath String] [-Vhds Hashtable[]] [-ResourcePoolName String] [-RetainVhdCopiesOnSource] [-RemoveSourceUnmanagedVhds] [-AsJob] [-Passthru] [-WhatIf] [-Confirm] [CommonParameters]

Description

Cette commande permet de déplacer une machine virtuelle vers un nouvel hôte Hyper-V.



Dernière mise à jour : Jeudi, le 18 Février 2021