Get Public IP Address of storage account through powershell script

Sameer Bhat 126 Reputation points Microsoft Employee
2021-11-16T08:26:48.2+00:00

Hi Team,

How can I get public IP Address of storage account through PowerShell script

Kind regards,
Sameer

Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,542 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. msrini-MSFT 9,291 Reputation points Microsoft Employee
    2021-11-17T13:14:10.227+00:00

    @Sameer Bhat ,

    Storage Account is a PAAS service and doesn't have any Public IP resource associated with it. One way to get the IP is to do a nslookup for the Storage FQDN and capture it.

    Regards,
    Karthik Srinivas

    1 person found this answer helpful.
    0 comments No comments

  2. David Joaquin Sanchez Lopez 21 Reputation points
    2021-11-16T15:05:41.42+00:00

    You could try: Get-AzPublicIpAddress -Name myResourceName -ResourceGroupName myResourceGroup

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.