Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
# confirm the feature is enabled or not (enabled by default)
PS C:\Users\Administrator> Get-SmbServerConfiguration | Out-String -Stream | Select-String "EnableMultiChannel"
EnableMultiChannel : True
# if disabled, enable like follows
PS C:\Users\Administrator> Set-SmbServerConfiguration -EnableMultiChannel $True
# confirm network interfaces
PS C:\Users\Administrator> Get-SmbServerNetworkInterface
Scope Name Interface Index RSS Capable RDMA Capable Speed IpAddress
---------- --------------- ----------- ------------ ----- ---------
* 10 True False 10 Gbps fe80::a4b3:140c:6fff:9fb4
* 5 True False 10 Gbps fe80::ed10:2d4f:ab8d:fc57
* 10 True False 10 Gbps 10.0.0.111
* 5 True False 10 Gbps 10.0.0.101
# set Multi Channel
# -ServerName : (hostname)
# -InterfaceIndex : (network interface to be used)
PS C:\Users\Administrator> New-SmbMultichannelConstraint -ServerName "rx-7" -InterfaceIndex 5, 10 -Force
# confirm settings
PS C:\Users\Administrator> Get-SmbMultichannelConstraint
InterfaceAlias : Ethernet Instance 0
InterfaceGuid : {8e6033fd-c481-4c0f-a1e5-18e52bc369e1}
InterfaceIndex : 5
ServerName : rx-7
PSComputerName :
InterfaceAlias : Ethernet Instance 0 2
InterfaceGuid : {c2d70c68-2793-42c2-a032-164590997856}
InterfaceIndex : 10
ServerName : rx-7
PSComputerName :
# if remove settings, configure like follows
PS C:\Users\Administrator> Remove-SmbMultichannelConstraint -ServerName "rx-7"
Confirm
Are you sure you want to perform this action?
Performing operation 'Remove-SmbMultiChannelConstraint' on Target 'rx-7,{4f66ee03-2f54-4332-b929-f8c9ee9155aa}'.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
Confirm
Are you sure you want to perform this action?
Performing operation 'Remove-SmbMultiChannelConstraint' on Target 'rx-7,{f3557ef5-cbde-4748-9894-c1ee4738e732}'.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
|