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

| Export-PSGraph -ShowGraph:$Show -OutputFormat $OutputFormat -Des . ResourceUnavailable: (:) [Export-PSGraph], ApplicationFailedException #80

Open subhashc opened 2 years ago

subhashc commented 2 years ago

Hi Prateek, Excellent tool and i appreciate your work. I am using latest version PS C:\Windows\system32> Export-AzViz -ResourceGroup qoldev -Theme light -Verbose -OutputFilePath D:\azure-resource\qoldev-rg.png -Show █████╗ ███████╗██╗ ██╗██╗███████╗ ██╔══██╗╚══███╔╝██║ ██║██║╚══███╔╝ Author : Prateek Singh (Twitter @singhprateik) ███████║ ███╔╝ ██║ ██║██║ ███╔╝ Module : Azure Visualizer v1.2.1 ██╔══██║ ███╔╝ ╚██╗ ██╔╝██║ ███╔╝ Github : https://github.com/PrateekKumarSingh/AzViz ██║ ██║███████╗ ╚████╔╝ ██║███████╗ Document : https://azviz.readthedocs.io ╚═╝ ╚═╝╚══════╝ ╚═══╝ ╚═╝╚══════╝ ▶ Testing Graphviz installation... 395ms ▶ GraphViz installation path : C:\Program Files\Graphviz\bin\dot.exe ▶ Configuring Defaults... 469ms ▶ Target Type : Azure Resource Group ▶ Output Format : png ▶ Exluded Resource Types : ▶ Output File Path : D:\azure-resource\qoldev-rg.png ▶ Label Verbosity : 1 ▶ Category Depth : 1 ▶ Sub-graph Direction : top-to-bottom ▶ Theme : light ▶ Launch Visualization : True ▶ Target Azure Resource Groups... 839ms ▶ qoldev ▶ Starting to generate Azure visualization... 904ms VERBOSE: Testing Azure login

I am able to generate diagram but in last line failing process exit and could you please advise

      ▶ microsoft.operationsmanagement/solutions/security(qol -> dev scaleset law)  microsoft.operationalinsights/workspaces/qol dev scaleset law

Export-PSGraph : Program 'qoldev-rg.png' failed to run: The system cannot find the file specifiedAt line:1 char:1

PS C:\Windows\system32>

dmbuk commented 2 years ago

same error: Error: not well-formed (invalid token) in line 1 TD ALIGN="center" colspan="2"><img src="C:\Users{Truncated\PowerShell\Modules\AzViz\1.2.1\icons\virtualmachines.png"/

and then 274 | "@ | Export-PSGraph -ShowGraph:$Show -OutputFormat $OutputFormat -Des … | ~~~~~~~~~~~~~~~~ | System error.