Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fjosouza opened this issue May 15, 2023 · 1 comment
Open

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

fjosouza opened this issue May 15, 2023 · 1 comment

Comments

@fjosouza
Copy link

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

  • ... rkObjects = ConvertFrom-Network -TargetType $TargetType -Targets $Tar ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (Get-AzNetworkWatcher:String) [ConvertFrom-Network], CommandNotFoundExce
      ption
    • FullyQualifiedErrorId : CommandNotFoundException,ConvertFrom-Network
@DavidHoenisch
Copy link

You will need to install the Az.Network Module.

Install-Module Az.Network

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants