Switch-NetQosTrafficClass

Syntax

Switch-NetQosTrafficClass
      [-PolicySet] <PolicySet>
      [-InterfaceAlias] <String>
      [-CimSession <CimSession[]>]
      [-ThrottleLimit <Int32>]
      [-AsJob]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Switch-NetQosTrafficClass
      [-PolicySet] <PolicySet>
      [-InterfaceIndex] <UInt32>
      [-CimSession <CimSession[]>]
      [-ThrottleLimit <Int32>]
      [-AsJob]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Examples

1:

PS C:\>

Parameters

-AsJob

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
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CimSession

Type:CimSession[]
Aliases:Session
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InterfaceAlias

Type:String
Aliases:IfAlias
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-InterfaceIndex

Type:UInt32
Aliases:IfIndex
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-PolicySet

Type:PolicySet
Accepted values:Global, AdapterSpecific
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ThrottleLimit

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.PowerShell.Cmdletization.GeneratedTypes.NetQosTrafficClass.PolicySet

String

UInt32

Outputs

Object