Skip to content
A powershell script to convert CSV file to ARM template for NSG automation
Branch: master
Clone or download
Latest commit cd7b65f Apr 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Apr 29, 2019
convert-csvtoarm.ps1 Initial version Apr 28, 2019
example rules.csv Initial version Apr 28, 2019

README.md

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
You can’t perform that action at this time.