CmdID / PowerShell / Cmdlets / New
New-SmbServerAlternativePort
Creates a new alternative port for the Server Message Block (SMB) protocol on the local server. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 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.-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 transport protocol to use for the SMB connection.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.