Skip to content

grabs the json file from MS for the Azure IP Ranges and Service Tags – Public Cloud and filters it and dumps it to a txt file

Notifications You must be signed in to change notification settings

thedxt/IP-Downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 

Repository files navigation

Azure IP filter and downloader script

Grabs the JSON file for the Azure IP Ranges and Service Tags – Public Cloud.

Script allows for flitering and downloads the IPs into one big file it also makes a file just for IPv4 and IPv6

The script grabs the json file directly from Microsoft (no more manual updating needed).

How to use

  • it will save to C:\temp unless you update the save location variable
  • change your region filter as needed to suit your needs
  • the filter includes null regions as some of the data doesn't have a region

known issues

  • If the account that is running the script doesn't have read write to the save location it will error.

Release Notes

Version 1.2.0

  • deployed fix to no longer need manual updating of the Microsoft URI to download the JSON file. Thanks @erikplekenpol for the fix.
  • deployed fix to auto create the save location if it doesn't exist.

Version 1.1.0

  • added DLURI which makes the script grab the MS JSON URI from a TXT file so the script doesn't need to be edited manually each week when MS release a new JSON file.

Version 1.0.0

  • Intial Release

About

grabs the json file from MS for the Azure IP Ranges and Service Tags – Public Cloud and filters it and dumps it to a txt file

Resources

Stars

Watchers

Forks

Packages

No packages published