DEV Community

Discussion on: Using PowerShell Core on macOS

alexanderviken profile image
Alexander Viken

I would suggest to use Azure CLI over PS.Az unless you plan to write and run complex PS scripts. As a bonus the Azure CLI also works in your native Mac shell

tidjani profile image
Tidjani Belmansour, Ph.D. Author

Hey Alexander,

thanks for your comment. As I mentioned in the post, I use the Azure CLI on a regular basis too. As a bonus point, some of the Azure CLI commands are idempotent, whereas Azure PowerShell aren't.

The point here isn't to recommend one over the other. It is to highlight that whether you choose one or the other, you have the possibility to use them on Windows, macOS or Linux.

Keep in mind that Windows IT Pros are likely to be more used to PowerShell command line rather than a bash-based command line.

Cheers !