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. #56
-
First... Prateek Singh great job! Fantastic indeed !! Congratulations !! Beautiful to see!! But I have the following event when handling the command: PS C:\Users\MyuserinWindows\Documents\WindowsPowerShell\Modules\AzViz> Export-AzViz -ResourceGroup myresourceinAzure -Verbose -OutputFilePath C:\Users\MyuserinWindows\Downloads\Report\rgvm.png -Show -Theme dark 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 [Log] Windows PowerShell Try the new cross-platform PowerShell https://aka.ms/pscore6 PS C:\Users\MyuserinWindows\Documents\WindowsPowerShell\Modules\AzViz> Install-Mo Account SubscriptionName TenantId En [email protected] Paid for Use 3ef327d9-65e8-491d-b8d3-4aad2fa4c775 Az PS C:\Users\MyuserinWindows\Documents\WindowsPowerShell\Modules\AzViz> Export-AzViz -ResourceGroup myresourceinAzure -Verbose -OutputFilePath C:\Users\MyuserinWindows\Downloads\Report\rgvm.png -Show -LabelVerbosity 2 -Theme dark
██╔══██╗╚══███╔╝██║ ██║██║╚══███╔╝ Author : Prateek Singh (Twitter @singhprateik)
PS C:\Users\MyuserinWindows\Documents\WindowsPowerShell\Modules\AzViz> The term 'Get-AzNetworkWatcher' is not recognized^C
PS C:\Users\MyuserinWindows\Documents\WindowsPowerShell\Modules\AzViz> Export-AzViz -ResourceGroup myresourceinAzure -Verbose -OutputFilePath C:\Users\MyuserinWindows\Downloads\Report\rgvm.png -Show -Theme dark
██╔══██╗╚══███╔╝██║ ██║██║╚══███╔╝ Author : Prateek Singh (Twitter @singhprateik)
PS C:\Users\MyuserinWindows\Documents\WindowsPowerShell\Modules\AzViz> [\log] Would you help me ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There was a solution. I installed Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force and the command was successful. |
Beta Was this translation helpful? Give feedback.
There was a solution. I installed Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force and the command was successful.