Azure Virtual network gateways Private IP address

Tsholofelo Mautla 21 Reputation points
2023-01-26T18:22:39.97+00:00

Hello

I want to pull a list of all the Virtual network gateways in our environment, I am specifically looking to get the Virtual network gateways private IP's.

I do not see the private IP's in the Portal.

Is there a Powershell script I can use to get this info?

Regards

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,142 questions
0 comments No comments
{count} votes

Accepted answer
  1. JimmySalian-2011 41,916 Reputation points
    2023-01-26T19:18:35.6933333+00:00

    Hi,

    I think you can try this command to extract the VNG information

    Hope this helps.

    JS

    ==

    Please Accept the answer if the information helped you. This will help us and others in the community as well.

    Get-AzVirtualNetworkGateway -Name myGateway* -ResourceGroupName myRG
    
    
    0 comments No comments

0 additional answers

Sort by: Most helpful