PowerShell Logo Small

New-SmbMultichannelConstraint



This is the built-in help made by Microsoft for the command 'New-SmbMultichannelConstraint', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Creates a new Server Message Block (SMB) multi-channel constraint for the specified server.

SYNTAX


New-SmbMultichannelConstraint [-ServerName] <String> [-InterfaceIndex] <UInt32[]> [-AsJob] [-CimSession <CimSession[]>] [-Force] [-ThrottleLimit <Int32>] [-Confirm]
[-WhatIf] [<CommonParameters>]
New-SmbMultichannelConstraint [-ServerName] <String> [-InterfaceAlias] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-Force] [-ThrottleLimit <Int32>] [-Confirm]
[-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The New-SmbMultichannelConstraint cmdlet creates a new Server Message Block (SMB) multi-channel constraint for the specified server.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=289546
Get-SmbMultichannelConstraint
Remove-SmbMultichannelConstraint

REMARKS

<

Examples


EXAMPLE 1

PS C:\>New-SmbMultichannelConstraint -ServerName Contoso-SO -InterfaceAlias RDMA1, RDMA2
Confirm
Are you sure you want to perform this action?
Performing operation 'New-SmbMultichannelConstraint' on Target 'Contoso-SO'.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y

InterfaceAlias : RDMA1
InterfaceGuid : {597b0a73-2b66-4be0-9e6d-f42eae8a35d6}
InterfaceIndex : 12
ServerName : Contoso-SO
PSComputerName :

InterfaceAlias : RDMA2
InterfaceGuid : {bd3c4a04-64cf-4205-88f5-38c4c35dfc38}
InterfaceIndex : 15
ServerName : Contoso-SO
PSComputerName :



This example creates a new SMB multi-channel constraint for the SMB server named Contoso-SO.




EXAMPLE 2

PS C:\>New-SmbMultichannelConstraint -ServerName Contoso-SO -InterfaceIndex 12, 15 -Force

InterfaceAlias : RDMA1
InterfaceGuid : {597b0a73-2b66-4be0-9e6d-f42eae8a35d6}
InterfaceIndex : 12
ServerName : Contoso-SO
PSComputerName :

InterfaceAlias : RDMA2
InterfaceGuid : {bd3c4a04-64cf-4205-88f5-38c4c35dfc38}
InterfaceIndex : 15
ServerName : Contoso-SO
PSComputerName :



This example creates a new SMB multi-channel constraint for the SMB server named Contoso-SO without user confirmation.