CmdID / PowerShell / Cmdlets / Remove
Remove-SmbServerAlternativePort
Removes an alternative port for the Server Message Block (SMB) protocol on the local server. Windows Server PowerShell reference
From the Windows Server PowerShell reference 11 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.-ForceForces the command to run without asking for user confirmation.-IncludeHiddenNot used.-InputObjectSpecifies the input object that's used in a pipeline command.-PassThruReturns an object representing the item with which you're working.-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.