Azure Datacenter IP Or No
This repository contains PowerShell Module AzureDatacenterIPOrNo
.
It contains cmdlet: Get-AzureDatacenterIPOrNo
for checking if
IP is from Azure IP Ranges and Service Tags – Public Cloud list.
Usage
You can install this module directly from PowerShell gallery:
Install-Module -Name AzureDatacenterIPOrNo
Then you can use it for verifying the possible Azure IP address:
# Update the Azure IP address list from internet
> Get-AzureDatacenterIPOrNo -IP 13.104.157.130 -UpdateCache
Updating cache...
IpRange : 13.104.157.128/25
Source : ServiceTags_Public_20230515
Ip : 13.104.157.130
Region : westindia
SystemService :
# Make another request
> Get-AzureDatacenterIPOrNo -IP 13.107.246.10
Region Ip
------ --
Not Public Azure IP 13.107.246.10
# Check IPv6 address
> Get-AzureDatacenterIPOrNo -IP "2603:1040:0800:0000:0000:0000:0000:0001"
IpRange : 2603:1040:800::/46
Source : ServiceTags_Public_20230515
Ip : 2603:1040:0800:0000:0000:0000:0000:0001
Region : westindia
SystemService :