This repo is the ipmgmt module, which can be used to:
- Given a VNET range break it down to number of subnets based on a subnet size
- Given a list of IP ranges in use and number of IP addresses needed find out a free slot for a VNET
In general it is a part of the project I run to show the process of creation Enterprise-focused PowerShell module, or set of modules for managing hybrid infrastructures in On-prem<->Azure environments.
The module can be installed from the PowerShell gallery
I describe the process of making this module in the following posts (hope it is gong to be more than one post)
Articles about the core module are here
- 01. Episode 1: Creating an Enterprise ready automation. Intro
- 02. Episode 1: Making PowerShell module
- 03. Episode 1: PowerShell, Azure Tables, CMDB integration
- 04. Episode 1: Cache, Singleton and Hashtables
- 05. Episode 1: Lets talk to CMDB at last!
- 06. Episode 1: There are some "peculiarities" with argument completers, however
- 07. Episode 1: Let's generate some names