Set-VMNetworkAdapterFailoverConfiguration |
Fixe la configuration de bascule de l'adaptateur réseau |
---|---|
PowerShell |
Syntaxe
Set-VMNetworkAdapterFailoverConfiguration [-CimSession CimSession[]] [-ComputerName String[]] [-Credential PSCredential[]] [-VMName] String [-VMNetworkAdapterName String] [-IPv4Address String] [-IPv6Address String] [-IPv4SubnetMask String] [-IPv6SubnetPrefixLength Int32] [-IPv4PreferredDNSServer String] [-IPv4AlternateDNSServer String] [-IPv6PreferredDNSServer String] [-IPv6AlternateDNSServer String] [-IPv4DefaultGateway String] [-IPv6DefaultGateway String] [-ClearFailoverIPv4Settings] [-ClearFailoverIPv6Settings] [-Passthru] [-WhatIf] [-Confirm] [CommonParameters] |
Set-VMNetworkAdapterFailoverConfiguration [-VMNetworkAdapter] VMNetworkAdapter [-IPv4Address String] [-IPv6Address String] [-IPv4SubnetMask String] [-IPv6SubnetPrefixLength Int32] [-IPv4PreferredDNSServer String] [-IPv4AlternateDNSServer String] [-IPv6PreferredDNSServer String] [-IPv6AlternateDNSServer String] [-IPv4DefaultGateway String] [-IPv6DefaultGateway String] [-ClearFailoverIPv4Settings] [-ClearFailoverIPv6Settings] [-Passthru] [-WhatIf] [-Confirm] [CommonParameters] |
Set-VMNetworkAdapterFailoverConfiguration [-VM] VirtualMachine [-VMNetworkAdapterName String] [-IPv4Address String] [-IPv6Address String] [-IPv4SubnetMask String] [-IPv6SubnetPrefixLength Int32] [-IPv4PreferredDNSServer String] [-IPv4AlternateDNSServer String] [-IPv6PreferredDNSServer String] [-IPv6AlternateDNSServer String] [-IPv4DefaultGateway String] [-IPv6DefaultGateway String] [-ClearFailoverIPv4Settings] [-ClearFailoverIPv6Settings] [-Passthru] [-WhatIf] [-Confirm] [CommonParameters] |
Description
Cette commande permet de configurer l'adresse IP d'une carte réseau virtuelle à utiliser lors du basculement d'une machine virtuelle.
Dernière mise à jour : Jeudi, le 18 Février 2021