CmdID

CmdID / PowerShell / Cmdlets / Set

Set-NetworkSwitchEthernetPortIPAddress

Sets the IP address on a port on a network switch. Windows Server PowerShell reference

From the Windows Server PowerShell reference 7 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

7 in the Windows Server PowerShell reference
-CimSessionSpecifies the CimSession that this cmdlet uses to connect to the network switch.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-InputObjectSpecifies the input object that is used in a pipeline command.
-IpAddressSpecifies an IP address for the Ethernet port.
-PortNumberSpecifies a port number.
-SubnetAddressSpecifies a subnet mask for the IP address.
-WhatIf, -wiShows what would happen if the cmdlet runs.