Open sjackson0109 opened 6 months ago
OK 2 more problems.
Your Export-AzureFirewallPolcyRulesToCSV.ps1
file is located inside the src sub-folder.
Yet line #6 of that file reads $OutputCSVPath = '.\src\FirewallPolicies.csv'
I updated this path to $OutputCSVPath = '.\FirewallPolicies.csv'
, as there isn't a second nested src
sub-folder.
I also created a new, empty, file FirewallPolicies.csv
in the src
folder. The export command now works.
Thanks for the tip, I haven't touched this repo in a while. I will update its ASAP!
It appears your template CSV file is missing from the repo; likely you excluded it from the import.
I figured you should be aware:
I can create a new CSV, but what are the column headings?
Maybe provide an argument for --OutputFileName.. So we can call this on loop, through half a dozen nested firewall policies...