How to find location of azure cli in windows

Viewed 4439

I installed azure cli in windows. But I am unable to find its location. I do have a folder named .azure but I can't find anything else. Is there any way to find out where it is installed? like in anaconda

2 Answers

In Windows you can use:

where az

should return something similar to:

C:/Program Files (x86)/Microsoft SDKs/Azure/CLI2/wbin/az.cmd

Where did not work for me however get-command did get-command az

You can also do $(get-command az).Path or $(get-command az).Source

Related