diff --git a/src/Network/Network/help/Remove-AzNetworkInterfaceIpConfig.md b/src/Network/Network/help/Remove-AzNetworkInterfaceIpConfig.md index 1b71ba4e14a6..23b62ebb2084 100644 --- a/src/Network/Network/help/Remove-AzNetworkInterfaceIpConfig.md +++ b/src/Network/Network/help/Remove-AzNetworkInterfaceIpConfig.md @@ -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