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

Several unusual bugs on Windows 10 #72

Open cpdohert opened 3 years ago

cpdohert commented 3 years ago

Think Pad P1 Gen3 Windows 10 64-bit 21H1 Build 19043.1165 PSVersion 7.1.4 PSEdition Core GraphViz 2.48 AzViz 1.2.1

Installing the prerequisites:

winget install graphviz
Install-Module AzViz
Import-Module AzViz
Connect-AzAccount [Parameters]

Given the command (where $foo is a list of five resource group names):

export-azviz -ResourceGroup $foo  -Theme light -OutputFormat svg -Show -LabelVerbosity 2 -Direction top-to-bottom

I'm seeing the following unusual behaviour that appears to be parameter-independent:

Running under WSL2 on the same system:

NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
PSVersion 7.14
PSEdition Core
GraphViz 2.42.2
AzViz 1.2.1

Installing prereqs:

sudo apt install graphviz
install-module azviz
import-module azviz
connect-azaccount [parameters]

The same command

export-azviz -ResourceGroup $foo  -Theme light -OutputFormat svg -LabelVerbosity 2 -Direction top-to-bottom -OutputFilePath ./foo.svg

produces the same errors, with the additional bug of no Azure icons - all the icons are the "broken image" icon.

I'm going to try on a different system in case this is machine-specific