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

ForEach-Object : The term 'Edge' is not recognized as the name of a cmdlet, function, script file, or operable program #63

Closed deversion1 closed 3 years ago

deversion1 commented 3 years ago

Command run:

Export-AzViz -ResourceGroup tce-uks-hub-001-rg -Theme light -OutputFormat png

Error:

ForEach-Object : The term 'Edge' 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:\dev\azviz\azviz\src\private\ConvertTo-DOTLangauge.ps1:139 char:17

Environment:

OS: Windows 10 20H2 Powershell: 5.1.19041.1023 AzViz: 1.2.1 GraphiViz: 2.47.3

I cloned the GitHub repo and ran the import command.

Thanks for the efforts so far - looks like a great solution.

deversion1 commented 3 years ago

I re-installed the PSGraph PS Module and the error seems to be resolved.