how to remove multiple IP configurations from one network interface #17718
-
how to remove multiple IP configurations from one network interface |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
-
The first IP is marked primary already still don’t know why I am getting the error trying to debug
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Dingmeng Xue ***@***.***>
Sent: Thursday, April 14, 2022 7:43:46 AM
To: Azure/azure-powershell ***@***.***>
Cc: Rohit Kumar ***@***.***>; Mention ***@***.***>
Subject: Re: [Azure/azure-powershell] how to remove multiple IP configurations from one network interface (Discussion #17718)
@say2merohit<https://github.com/say2merohit> , the error returns from service. maybe you need to keep at least one.
—
Reply to this email directly, view it on GitHub<#17718 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFFQL2U52FZK73PK5EHCDDTVE55NVANCNFSM5STOUU2Q>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Somehow I feel that is is trying to delete the primary IP address as well , how can we ask script to Skip that ?? Set-AzNetworkInterface : IP Configuration ipconfig1 cannot be deleted. Deletion and renaming of primary IP Configuration is not supported |
Beta Was this translation helpful? Give feedback.
-
Here is the script.
|
Beta Was this translation helpful? Give feedback.
Here is the script.