AzViz icon indicating copy to clipboard operation
AzViz copied to clipboard

Executable for Mac not available / documented

Open nishant-vashisth opened this issue 2 years ago • 1 comments

I'm trying to use this with a mac, and after installing it from brew

brew install graphviz

When I try to execute the How To Command, I get executable not found

Export-AzViz -ResourceGroup demo-2 -Theme light -OutputFormat png -Show
-bash: Export-AzViz: command not found

The documentation unfortunately doesn't point to if the executable is different in case of Mac installation.

P.S. While this is a powershell module, I'm presuming that Mac is supported since mac installation command was provided.

nishant-vashisth avatar Mar 28 '22 08:03 nishant-vashisth

According to your error message you are trying to run Export-AzViz command from bash. You must run it from within pwsh on a Mac.

If you have pwsh installed on your mac you can just type pwsh into the terminal to start a Powershell session. And from there you can run Export-AzViz.

moiaune avatar Apr 05 '22 09:04 moiaune