Compartilhar via


Network Adapter Cmdlets in Windows PowerShell

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.

Network Adapter

This reference provides cmdlet descriptions and syntax for all Network Adapter-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

cmdlet Description

Disable-NetAdapter

Disables a network adapter.

Disable-NetAdapterBinding

Disables a binding to a network adapter.

Disable-NetAdapterChecksumOffload

Disables the selected checksum offloads on the network adapter.

Disable-NetAdapterEncapsulatedPacketTaskOffload

Disables encapsulated packet task offload.

Disable-NetAdapterIPsecOffload

Disables IPsec offload on the network adapter, so that the network adapter will not perform the per packet encryption operations.

Disable-NetAdapterLso

Disables all large send offload (LSO) properties, such as LSOv4 and LSOv6, of the network adapter.

Disable-NetAdapterPowerManagement

Disables specific power management features on the network adapter.

Disable-NetAdapterQos

Disables quality of service (QoS) on the network adapter, specifically data center bridging (DCB).

Disable-NetAdapterRdma

Disables remote direct memory access (RDMA) on the network adapter.

Disable-NetAdapterRsc

Disables receive segment coalescing (RSC).

Disable-NetAdapterRss

Disables receive side scaling (RSS) on the network adapter.

Disable-NetAdapterSriov

Disables Single-Root I/O Virtualization (SR-IOV) on the network adapter.

Disable-NetAdapterVmq

Disables the virtual machine queue (VMQ) feature on the network adapter.

Enable-NetAdapter

Enables a network adapter.

Enable-NetAdapterBinding

Enables a binding to a network adapter.

Enable-NetAdapterChecksumOffload

Enables checksum offloads on the network adapter.

Enable-NetAdapterEncapsulatedPacketTaskOffload

Enables encapsulated packet task offload.

Enable-NetAdapterIPsecOffload

Enables IPsec offload on the network adapter in the AuthHeaderEspEnabled mode.

Enable-NetAdapterLso

Enables the large send offload (LSO) properties, such as LSOv4 and LSOv6, of the network adapter.

Enable-NetAdapterPowerManagement

Enables specific power management features on the network adapter.

Enable-NetAdapterQos

Enables quality of service (QoS) on the network adapter, specifically data center bridging (DCB).

Enable-NetAdapterRdma

Enables remote direct memory access (RDMA) on the network adapter.

Enable-NetAdapterRsc

Enables receive segment coalescing (RSC).

Enable-NetAdapterRss

Enables receive side scaling (RSS) on the network adapter.

Enable-NetAdapterSriov

Enables Single-Root I/O Virtualization (SR-IOV) on the network adapter.

Enable-NetAdapterVmq

Enables virtual machine queue (VMQ) on the network adapter.

Get-NetAdapter

Gets the basic network adapter properties.

Get-NetAdapterAdvancedProperty

Returns the advanced properties for the network adapter.

Get-NetAdapterBinding

Returns a list of bindings for a network adapter.

Get-NetAdapterChecksumOffload

Gets the various checksum offload settings from network adapters that support these checksum offloads.

Get-NetAdapterEncapsulatedPacketTaskOffload

Gets the network adapters that support encapsulated task offload.

Get-NetAdapterHardwareInfo

Gets the hardware information of the network adapter.

Get-NetAdapterIPsecOffload

Gets the IPsec offload properties of the network adapter.

Get-NetAdapterLso

Gets the large send offload (LSO) properties of the network adapter.

Get-NetAdapterPowerManagement

Gets the power management features of the network adapter.

Get-NetAdapterQos

Gets the quality of service (QoS) properties of the network adapter, specifically data center bridging (DCB) settings.

Get-NetAdapterRdma

Gets the remote direct memory access (RDMA) properties for this network adapter.

Get-NetAdapterRsc

Gets network adapters that support receive segment coalescing (RSC).

Get-NetAdapterRss

Gets receive side scaling (RSS) properties of the network adapter.

Get-NetAdapterSriov

Gets the Single-Root I/O Virtualization (SR-IOV) properties of the network adapter.

Get-NetAdapterSriovVf

Displays the Single-Root I/O Virtualization (SR-IOV) virtual function (VF) settings.

Get-NetAdapterStatistics

Gets statistics from the network adapter.

Get-NetAdapterVmq

Gets the virtual machine queue (VMQ) properties of the network adapter.

Get-NetAdapterVmqQueue

Gets the virtual machine queues (VMQs) allocated on a network adapter.

Get-NetAdapterVPort

Displays the network adapter virtual port (VPort) settings for a Single-Root I/O Virtualization (SR-IOV) or virtual machine queue (VMQ) VPort.

New-NetAdapterAdvancedProperty

Creates a new advanced property for the network adapter.

Remove-NetAdapterAdvancedProperty

Removes an advanced property from the network adapter.

Rename-NetAdapter

Renames a network adapter.

Reset-NetAdapterAdvancedProperty

Resets the advanced properties of a network adapter to their factory default values.

Restart-NetAdapter

Restarts a network adapter by disabling and then re-enabling the network adapter.

Set-NetAdapter

Sets the basic network adapter properties.

Set-NetAdapterAdvancedProperty

Sets the advanced properties of a network adapter.

Set-NetAdapterBinding

Sets the binding state of a transport or filter on a network adapter.

Set-NetAdapterChecksumOffload

Sets the various checksum offload settings.

Set-NetAdapterEncapsulatedPacketTaskOffload

Sets the encapsulated packet task offload property of the network adapter.

Set-NetAdapterIPsecOffload

Sets the IPsec offload properties of the network adapter.

Set-NetAdapterLso

Sets the large send offload (LSO) properties of the network adapter.

Set-NetAdapterPowerManagement

Sets power management properties on the network adapter.

Set-NetAdapterQos

Sets the quality of service (QoS) properties of the network adapter, specifically data center bridging (DCB).

Set-NetAdapterRdma

Sets the remote direct memory access (RDMA) properties on the network adapter.

Set-NetAdapterRsc

Sets the enabled state of receive segment coalescing (RSC).

Set-NetAdapterRss

Sets the receive side scaling (RSS) properties on the network adapter.

Set-NetAdapterSriov

Sets the Single-Root I/O Virtualization (SR-IOV) properties of the network adapter, such as the number of virtual functions (VFs), the number of virtual ports (VPorts), and the number of queue pairs for default and non-default VPorts.

Set-NetAdapterVmq

Sets the virtual machine queue (VMQ) properties of the network adapter.

Observação

To list all the cmdlets that are available, use the Get-Command -Module NetAdapter cmdlet.

Para obter mais informações sobre qualquer cmdlet ou sua sintaxe, use o cmdlet Get-Help <nome do cmdlet>, em que <nome do cmdlet> é o nome do cmdlet que você deseja pesquisar. Para obter informações mais detalhadas, você pode executar qualquer um dos seguintes cmdlets:

Get-Help <nome do cmdlet> -Detailed
Get-Help <nome do cmdlet> -Examples
Get-Help <nome do cmdlet> -Full