CmdID / PowerShell / Cmdlets / Enable
Enable-NetworkSwitchEthernetPort
Enables an Ethernet port on a network switch. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-CimSessionSpecifies the CimSession that this cmdlet uses to connect to the network switch.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DeviceIDSpecifies a device ID.-InputObjectSpecifies the input object that is used in a pipeline command.-PortNumberSpecifies a port to enable.-WhatIf, -wiShows what would happen if the cmdlet runs.