PowerShell Logo Small

Remove-NetworkSwitchEthernetPortIPAddress



This is the built-in help made by Microsoft for the command 'Remove-NetworkSwitchEthernetPortIPAddress', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Removes an IP address from a port of a network switch.

SYNTAX


Remove-NetworkSwitchEthernetPortIPAddress [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable [<System.String>]]
-CimSession <CimSession> -PortNumber <Int32> [<CommonParameters>]
Remove-NetworkSwitchEthernetPortIPAddress [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable [<System.String>]]
-CimSession <CimSession> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-NetworkSwitchEthernetPortIPAddress cmdlet removes an assigned IP address from a port of a network switch.



<

RELATED LINKS

Set-NetworkSwitchEthernetPortIPAddress
Get-NetworkSwitchEthernetPort

REMARKS

<

Examples


Example 1: Remove an IP address from a port by using the pipeline

PS C:\>$Session = New-CimSession -ComputerName "NetworkSwitch08"
PS C:\> Remove-NetworkSwitchEthernetPortIPAddress -CimSession $Session -PortNumber 21



The first command creates a CimSession for a network switch, and then stores it in the $Session variable. For more information about CimSession objects, type Get-Help
New-CimSession.

The second command removes the IP address of port 21 by using the $Session object.