Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/Network/Network/help/Remove-AzNetworkInterfaceIpConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ The **Remove-AzNetworkInterfaceIpConfig** cmdlet removes a network interface IP

## EXAMPLES

### 1: Delete an IP configuration from a network interface
```
### Example 1: Delete an IP configuration from a network interface
```powershell
$nic = Get-AzNetworkInterface -Name mynic -ResourceGroupName myrg

Remove-AzNetworkInterfaceIpConfig -Name IPConfig-1 -NetworkInterface $nic

Set-AzNetworkInterface -NetworkInterface $nic
```

The first command gets a network interface called mynic and stores it in the variable $nic. The second command
removes the IP configuration called IPConfig-1 associated with this network interface.
removes the IP configuration called IPConfig-1 associated with this network interface. The third command sets changes made to the network interface.

## PARAMETERS

Expand Down