Skip to content

Commit 51bb40a

Browse files
Update Remove-AzNetworkInterfaceIpConfig.md (#12807)
* Update Remove-AzNetworkInterfaceIpConfig.md Set command is mandatory after we do a remove command * Update Remove-AzNetworkInterfaceIpConfig.md Co-authored-by: Mike F. Robbins <[email protected]>
1 parent 344a3ee commit 51bb40a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/Network/Network/help/Remove-AzNetworkInterfaceIpConfig.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,17 @@ The **Remove-AzNetworkInterfaceIpConfig** cmdlet removes a network interface IP
2323

2424
## EXAMPLES
2525

26-
### 1: Delete an IP configuration from a network interface
27-
```
26+
### Example 1: Delete an IP configuration from a network interface
27+
```powershell
2828
$nic = Get-AzNetworkInterface -Name mynic -ResourceGroupName myrg
2929
3030
Remove-AzNetworkInterfaceIpConfig -Name IPConfig-1 -NetworkInterface $nic
31+
32+
Set-AzNetworkInterface -NetworkInterface $nic
3133
```
3234

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

3638
## PARAMETERS
3739

0 commit comments

Comments
 (0)