PrateekKumarSingh / AzViz

⚡ ☁ Azure Visualizer aka 'AzViz' : A #powershell module to automatically generate Azure resource topology diagrams by just typing a PowerShell cmdlet and passing the name of one or more Azure Resource groups

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exclude resources by name wildcard

MohnJadden opened this issue · comments

It would be great if we had the ability to have Azviz exclude resources from a graph based on their name or ID. For example, I've got an RG with a Storage Account that has several boot diagnostic containers, all containing the name "bootdiagnostic".

Examples:
Export-AzViz -Resourcegroup Mike1 -exclude *bootdiagnostic* will exclude anything that contains the term bootdiagnostic
Export-AzViz -Resourcegroup Mike1 -exclude bootdiagnostic/vhd* will exclude anything that begins with the term bootdiagnostic/vhd