Remove-SmbMultichannelConstraint

Removes one or more specified Server Message Block (SMB) multi-channel constraints, which determine the network interfaces to be used when connecting to specific servers.

Syntax

Remove-SmbMultichannelConstraint
      [-ServerName] <String[]>
      [[-InterfaceIndex] <UInt32[]>]
      [-AsJob]
      [-CimSession <CimSession[]>]
      [-Force]
      [-PassThru]
      [-ThrottleLimit <Int32>]
      [-Confirm]
      [-WhatIf]
Remove-SmbMultichannelConstraint
      [-ServerName] <String[]>
      [[-InterfaceAlias] <String[]>]
      [-AsJob]
      [-CimSession <CimSession[]>]
      [-Force]
      [-PassThru]
      [-ThrottleLimit <Int32>]
      [-Confirm]
      [-WhatIf]
Remove-SmbMultichannelConstraint
      [-AsJob]
      [-CimSession <CimSession[]>]
      [-Force]
      [-PassThru]
      [-ThrottleLimit <Int32>]
      -InputObject <CimInstance[]>
      [-Confirm]
      [-WhatIf]

Description

The Remove-SmbMultichannelConstraint cmdlet removes one or more specified Server Message Block (SMB) multi-channel constraints, which determine the network interfaces to be used when connecting to specific servers.

Examples

EXAMPLE 1

PS C:\>Remove-SmbMultichannelConstraint -ServerName Contoso-SO
Confirm 
Are you sure you want to perform this action? 
Performing operation 'Remove-SmbMultiChannelConstraint' on Target 'Contoso-SO,{597b0a73-2b66-4be0-9e6d-f42eae8a35d6}'. 
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): N 
 
Confirm 
Are you sure you want to perform this action? 
Performing operation 'Remove-SmbMultiChannelConstraint' on Target 'Contoso-SO,{bd3c4a04-64cf-4205-88f5-38c4c35dfc38}'. 
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): N

This example removes one or more specified SMB multi-channel constraints, which determine the network interfaces to be used when connecting to specific servers.

EXAMPLE 2

PS C:\>Remove-SmbMultichannelConstraint -ServerName Contoso-SO -InterfaceIndex 12 -Force

This example removes one or more specified SMB multi-channel constraints, which determine the network interfaces to be used when connecting to specific servers without user confirmation.

Required Parameters

-InputObject

Specifies the input to this cmdlet. You can use this parameter, or you can pipe the input to this cmdlet.

Type:CimInstance[]
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-ServerName

Specifies the server from which to remove one or more constraints

Type:String[]
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-AsJob

ps_cimcommon_asjob

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CimSession

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-CimSessionhttp://go.microsoft.com/fwlink/p/?LinkId=227967 or Get-CimSessionhttp://go.microsoft.com/fwlink/p/?LinkId=227966 cmdlet. The default is the current session on the local computer.

Type:CimSession[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InterfaceAlias

Specifies one or more interface aliases of the network interfaces that are no longer used by SMB to connect to the server.

Type:String[]
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-InterfaceIndex

Specifies one or more interface indexes of the network interfaces that are no longer used by SMB to connect to the server.

Type:UInt32[]
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PassThru

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
-ThrottleLimit

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
-WhatIf

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

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

Inputs

None

Outputs

None