Export all NSG Rules in a subscription to one CSV file

Vishu 1,736 Reputation points
2025-05-04T08:33:02.1033333+00:00

Please provide a PowerShell script to export all Azure NSG's along with rules in one subscription to one csv file

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,936 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.