Set-Net
Offload
Global
Setting
Syntax
Set-NetOffloadGlobalSetting
[-InputObject <CimInstance[]>]
[-ReceiveSideScaling <EnabledDisabledEnum>]
[-ReceiveSegmentCoalescing <EnabledDisabledEnum>]
[-Chimney <ChimneyEnum>]
[-TaskOffload <EnabledDisabledEnum>]
[-NetworkDirect <EnabledDisabledEnum>]
[-NetworkDirectAcrossIPSubnets <AllowedBlockedEnum>]
[-PacketCoalescingFilter <EnabledDisabledEnum>]
[-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>]
[-AsJob]
[-PassThru]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Set-NetOffloadGlobalSetting cmdlet modifies the global TCP/IP offload settings. The global settings include Receive Side Scaling, Receive Segment Coalescing, task offload, and NetworkDirect properties.
Examples
Example 1: Enable Receive Segment Coalescing
PS C:\>Set-NetOffloadGlobalSetting -ReceiveSegmentCoalescing Enabled
This command enables Receive Segment Coalescing on the computer.
Optional Parameters
Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the TCP Chimney global state on the computer. The acceptable values for this parameter are:
-
Enabled
-
Disabled
-
Automatic
The default value is Disabled.
Type: | ChimneyEnum |
Parameter Sets: | Disabled, Enabled, Automatic |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.
Type: | CimSession[] |
Aliases: | Session |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the input object that is used in a pipeline command.
Type: | CimInstance[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |
Specifies the NetworkDirect Remote Direct Memory Access (RDMA) value on the computer. Use this parameter only on servers. The acceptable values for this parameter are:
-
Enabled
-
Disabled
The default value is Enabled.
Type: | EnabledDisabledEnum |
Parameter Sets: | Disabled, Enabled |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a value for NetworkDirect connectivity from outside a local IP network. The acceptable values for this parameter are:
- Allowed
- Blocked
Type: | AllowedBlockedEnum |
Parameter Sets: | Blocked, Allowed |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the values for the packet-coalescing filter on the computer. To reduce the number of interrupts that a computer processes, the packet-coalescing filter combines random broadcast and multicast packets, such as Address Resolution Protocol (ARP) requests, Neighbor Discovery messages, and Simple Service Discovery Protocol (SSDP) requests, into a single packet. Use this parameter only on client computers. The acceptable values for this parameter are:
-
Enabled
-
Disabled
The default value is Enabled.
Type: | EnabledDisabledEnum |
Parameter Sets: | Disabled, Enabled |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the Receive Segment Coalescing settings on the computer. Receive Segment Coalescing parses small packets of data and combines the data into a single packet. Coalescing small packets into a single packet reduces the overhead that is required to process packets. The acceptable values for this parameter are:
-
Enabled
-
Disabled
The default value is Enabled.
Type: | EnabledDisabledEnum |
Parameter Sets: | Disabled, Enabled |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the Receive Side Scaling settings on the computer. Receive Side Scaling distributes the network processing load across multiple processor cores. The acceptable values for this parameter are:
-
Enabled
-
Disabled
The default value is Enabled.
Type: | EnabledDisabledEnum |
Parameter Sets: | Disabled, Enabled |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the global TCP/IP task offload settings. Task offload settings include IP checksum offload, Internet Protocol security (IPsec) task offload, and Large Send Offload. These features reduce the overhead of per-packet processing by distributing packet processing tasks, such as checksum calculation, to a network adapter. A modification takes effect after a computer restarts or a network adapter restarts. The acceptable values for this parameter are:
-
Enabled
-
Disabled
The default value is Enabled.
Type: | EnabledDisabledEnum |
Parameter Sets: | Disabled, Enabled |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the maximum number of concurrent operations that can be established to run the cmdlet.
If this parameter is omitted or a value of
0
is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer.
The throttle limit applies only to the current cmdlet, not to the session or to the computer.
Type: | Int32 |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.Management.Infrastructure.CimInstance#root\StandardCimv2\MSFT_NetOffloadGlobalSetting
The
Microsoft.Management.Infrastructure.CimInstance
object is a wrapper class that displays Windows Management Instrumentation (WMI) objects.
The path after the pound sign (
#
) provides the namespace and class name for the underlying WMI object.
Outputs
None