CmdID / PowerShell / Cmdlets / Set
Set-SmbServerAlternativePort
Configures the alternative ports for the Server Message Block (SMB) protocol on the local server. Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-DisableInstancesDisables alternative ports on SMB instances.-EnableInstancesEnables alternative ports on SMB instances.-ForceForces the command to run without asking for user confirmation.-PortSpecifies the port number that the SMB connection should use.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-TransportTypeSpecifies the network transport used by SMB.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.