Copy-AzSubnets

1.2.2

This script allows to clone existing subnets for Azure Virtual Network. It requires a new address space using which it creates duplicates of subnets by size and name (with prefix 'n-').


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Copy-AzSubnets -RequiredVersion 1.2.2

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

groovy-sky

Package Details

Author(s)

  • groovy-sky

Tags

Azure Network VirtualNetwork Subnet

Functions

DivideSubnet DivideSubnetMultipleTimes findAvailableIPbyMask Test-IPAddressInRange ConvertTo-UInt32 Sort-IPRanges

Dependencies

This script has no dependencies.

Release Notes

Version 1.2.2 - Fixed syntax errors and switched to Az.Network module
Version 1.2.1 - Fixed subnet object structure to match Azure Network API schema
Version 1.2.0 - Fixed subnet object structure and error handling
Version 1.1.9 - Fixed subnet object structure to match Azure API requirements

FileList

Version History

Version Downloads Last updated
1.2.4 4 9/17/2025
1.2.3 4 9/17/2025
1.2.2 (current version) 5 9/17/2025
1.1.9 4 9/17/2025
1.1.8 6 9/17/2025
1.1.7 4 9/17/2025
1.1.6 4 9/17/2025
1.1.4 40 5/4/2025
1.1.3 8 4/28/2025
1.1.2 6 4/28/2025
1.1.1 9 4/28/2025
1.1.0 6 4/28/2025
1.0.9 6 4/28/2025
1.0.8 7 4/28/2025
1.0.7 7 4/28/2025
1.0.6 9 4/26/2025
1.0.5 10 4/24/2025
1.0.1 9 4/23/2025
1.0.0 8 4/23/2025
Show more