Skip to content

A powershell script to convert CSV file to ARM template for NSG automation

Notifications You must be signed in to change notification settings

NillsF/NSG-CSV-to-ARM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

A script to convert NSG data in CSV to ARM templates

A powershell script to convert CSV file to ARM template for NSG automation. The script itself takes in a CSV file (see example rules.csv for an example) and creates ARM templates as an output. The solution does not do the actual deployment, but does a test of the deployment. This requires you to be logged in to Azure prior to executing the script.

How to use

#First login to Azure powershell
Login-AzureRMAccount
#Execute script
convert-csvtoarm.ps1 -filename rules.csv

About

A powershell script to convert CSV file to ARM template for NSG automation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published