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
MIT License
584 stars 146 forks source link

'Get-AzNetworkWatcher' is not recognized as the name of a cmdlet, #116

Open fjosouza opened 1 year ago

fjosouza commented 1 year ago

Hi... I am running the command below and I getting the error below.

==> Export-AzViz -ResourceGroup NAME_OF_RESOURCE_GROUP -Theme light -OutputFormat png -Show

ConvertFrom-Network : The term 'Get-AzNetworkWatcher' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Users\azureuser\Documents\WindowsPowerShell\Modules\AzViz\1.2.1\src\private\ConvertTo-DOTLangauge.ps1:29 char:27

DavidHoenisch commented 1 year ago

You will need to install the Az.Network Module.

Install-Module Az.Network