CmdID

CmdID / PowerShell / Cmdlets / Set

Set-VMNetworkAdapterFailoverConfiguration

Configures the IP address of a virtual network adapter to be used when a virtual machine fails over. Windows Server PowerShell reference

From the Windows Server PowerShell reference 22 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

22 in the Windows Server PowerShell reference
Show its 22 parameters
-CimSessionRuns the cmdlet in a remote session or on a remote computer.
-ClearFailoverIPv4SettingsClears the configured IPv4 failover settings.
-ClearFailoverIPv6SettingsClears the configured IPv6 failover settings.
-ComputerNameSpecifies one or more Hyper-V hosts on which the IP address configuration of a virtual network adapter is to be set.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CredentialSpecifies one or more user accounts that have permission to perform this action.
-IPv4AddressSpecifies the IPv4 address to set on the VMNetworkAdapter for use on failover of the virtual machine.
-IPv4AlternateDNSServerSpecifies the IPv4 alternate DNS server to be set on the VMNetworkAdapter for use on failover of the virtual machine.
-IPv4DefaultGatewaySpecifies the IPv4 default gateway to be set on VMNetworkAdapter for use on failover of the virtual machine..
-IPv4PreferredDNSServerSpecifies the IPv4 preferred DNS server to be set on VMNetworkAdapter for use on failover of the virtual machine.
-IPv4SubnetMaskSpecifies the IPv4 subnet mask to be set on VMNetworkAdapter for use on failover of the virtual machine.
-IPv6AddressSpecifies the IPv6 address to be set on VMNetworkAdapter for use on failover of the virtual machine.
-IPv6AlternateDNSServerSpecifies the IPv6 alternate DNS server to be set on VMNetworkAdapter for use on failover of the virtual machine.
-IPv6DefaultGatewaySpecifies the IPv6 default gateway to be set on VMNetworkAdapter for use on failover of the virtual machine.
-IPv6PreferredDNSServerSpecifies the IPv6 preferred DNS server to be set on VMNetworkAdapter for use on failover of the virtual machine.
-IPv6SubnetPrefixLengthSpecifies the IPv6 subnet prefix length to be set on VMNetworkAdapter for use on failover of the virtual machine.
-PassthruSpecifies that a Microsoft.HyperV.PowerShell.VMNetworkAdapterFailoverConfiguration object is to be passed through to the pipeline representing the IP address configuration to be set.
-VMSpecifies the virtual machine for which you want to configure the IP address.
-VMNameSpecifies the friendly name of the virtual machine for which you want to configure the IP address.
-VMNetworkAdapterSpecifies the virtual network adapter for which you want to configure the IP address.
-VMNetworkAdapterNameSpecifies the name of the virtual network adapter for which you want to set the IP address.
-WhatIf, -wiShows what would happen if the cmdlet runs.