Skip to content

erlwes/AzureServiceTags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

AzureServiceTags

PowerShell PowerShell Gallery Downloads

AzureServiceTags

This PowerShell module lets you query Microsoft’s Azure IP Ranges and Service Tags JSON for Azure cloud (Public, China, Government, Germany). It features auto-completion of all service names, regions and clouds. You can also query for a IPv4 or IPv6 address or CIDR and get all the overlapping addressprefixes in return :)

📦 Installation

Install-Module -Name AzureServiceTags

🚀 Quickstart

Get address prefixes for all endpoints in Norway

Get-AzureServiceTag -Cloud Public -Region norway* | Select-Object -ExpandProperty AddressPrefixes

Get service and addressprefixes for all US regions that are not EUAP (Early Update Access Program)

Get-AzureServiceTag -Cloud Public -Region '^(?!.*euap)((east|west|central|northcentral|southcentral|westcentral|southeast)us\d*|usstage[ec])$'

Demo

AzureServiceTags

💻 Cmdlets

Get-AzureServiceTag

Returns Azure Service Tag entries for a given cloud. You can filter on service name and/or region.

Parameters

Name Type Required Description
Cloud String No Azure cloud to query. Valid values: Public, China, AzureGovernment, AzureGermany. Defaults to Public.
Name String No Filter on servicetags by match/regexp, or tab for full list of services (argument completion)
Region String No Filter for region, or tab for list of possible values for the given cloud

Get-AzureIpRange

Looks up Azure region/system service information by IP address or CIDR (IPv4/IPv6) and returns matching Azure addressPrefixes (with match type). Supports pipeline input.

Parameters

Name Type Required Description
Address String[] No One or more IPs/CIDRs to query (IPv4/IPv6). Accepts pipeline input. Aliases: IP, IPs, Prefix, CIDR
Cloud String No Azure cloud to query. Valid values: Public, China, AzureGovernment, AzureGermany. Defaults to Public.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published