CmdID / PowerShell / Cmdlets / Set
Set-VMNetworkAdapter
Configures features of the virtual network adapter in a virtual machine or the management operating system. Windows Server PowerShell reference
From the Windows Server PowerShell reference 43 parameters Its page in the reference
Parameters
Show its 43 parameters
-AllowTeamingSpecifies whether the virtual network adapter can be teamed with other network adapters connected to the same virtual switch.-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies one or more Hyper-V hosts on which features of the network adapter are to be configured.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-DeviceNamingSpecifies whether this adapter uses device naming.-DhcpGuardSpecifies whether to drop DHCP messages from a virtual machine claiming to be a DHCP server.-DynamicIPAddressLimitSpecifies the dynamic IP address limit, an integer.-DynamicMacAddressAssigns a dynamically generated MAC address to the virtual network adapter..-FixSpeed10GSpecifies whether the adapter uses fix speed of 10G.-IPsecOffloadMaximumSecurityAssociationSpecifies the maximum number of security associations that can be offloaded to the physical network adapter that is bound to the virtual switch and that supports IPSec Task Offload.-IeeePriorityTagSpecifies whether IEEE 802.1p tagged packets from the virtual machine should be trusted.-IovInterruptModerationSpecifies the interrupt moderation value for a single-root I/O virtualization (SR-IOV) virtual function assigned to a virtual network adapter.-IovQueuePairsRequestedSpecifies the number of hardware queue pairs to be allocated to an SR-IOV virtual function.-IovWeightSpecifies whether single-root I/O virtualization (SR-IOV) is to be enabled on this virtual network adapter.-MacAddressSpoofingSpecifies whether virtual machines may change the source MAC address in outgoing packets to one not assigned to them.-ManagementOSSpecifies the virtual network adapter in the management operating system to be configured.-MandatoryFeatureIdSpecifies the unique identifiers of the virtual switch extension features that are required for this virtual network adapter to operate.-MaximumBandwidthSpecifies the maximum bandwidth, in bits per second, for the virtual network adapter.-MinimumBandwidthAbsoluteSpecifies the minimum bandwidth, in bits per second, for the virtual network adapter.-MinimumBandwidthWeightSpecifies the minimum bandwidth, in terms of relative weight, for the virtual network adapter.-Name, -VMNetworkAdapterNameSpecifies the name for the virtual network adapter.-NotMonitoredInClusterIndicates whether to not monitor the network adapter if the virtual machine that it belongs to is part of a cluster.-PacketDirectModerationCountSpecifies the number of packets to wait for before signaling an interrupt.-PacketDirectModerationIntervalSpecifies the amount of time, in milliseconds, to wait before signaling an interrupt after a packet arrives.-PacketDirectNumProcsSpecifies the number of processors to use for virtual switch processing inside of the host.-PassthruSpecifies that an object is to be passed through to the pipeline representing the virtual network adapter to be configured.-PortMirroringSpecifies the port mirroring mode for the network adapter to be configured.-ResourcePoolNameSpecifies the name of the resource pool.-RouterGuardSpecifies whether to drop Router Advertisement and Redirection messages from unauthorized virtual machines.-StaticMacAddressAssigns a specific a MAC address to the virtual network adapter.-StormLimitSpecifies the number of broadcast, multicast, and unknown unicast packets per second a virtual machine is allowed to send through the specified virtual network adapter.-TestReplicaPoolNameThis parameter applies only to virtual machines that are enabled for replication.-TestReplicaSwitchNameThis parameter applies only to virtual machines that are enabled for replication.-VMSpecifies the virtual machine that has the virtual network you want to configure.-VMNameSpecifies the name of the virtual machine that has the virtual network adapteryou want to configure.-VMNetworkAdapterSpecifies the virtual network adapter.-VirtualSubnetIdSpecifies the virtual subnet ID to use with Hyper-V Network Virtualization.-VmmqEnabled-VmmqQueuePairs-VmqWeightSpecifies whether virtual machine queue (VMQ) is to be enabled on the virtual network adapter.-VrssEnabled-WhatIf, -wiShows what would happen if the cmdlet runs.