Error: SubGraph is not recognized
jrachwalski opened this issue · 1 comments
jrachwalski commented
Command:
Export-AzViz -ResourceGroup "test-rg" -Theme light -OutputFormat png -Show
Error:
ConvertTo-DOTLanguage: /Users/jaredr/Documents/Repos/AzViz/AzViz/src/public/Export-AzViz.ps1:269:18
Line |
269 | … $graph = ConvertTo-DOTLanguage -TargetType $TargetType -Targets $T …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The term 'SubGraph' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling
| of the name, or if a path was included, verify that the path is correct and try again.
jrachwalski commented
Fixed by running:
# Install PSGraph from the Powershell Gallery
Find-Module PSGraph | Install-Module
# Import Module
Import-Module PSGraph
I mistaken thought brew install graphviz
was enough.