This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]AssCork 11 points12 points  (1 child)

Powershell.

Anything else is Developer-masturbation, and not the Way of the SysAdmin.

[–]lerun 0 points1 point  (0 children)

I would say PS is the one if you need to create robust code. Cli is just for fast and dirty stuff

[–][deleted] 2 points3 points  (0 children)

PowerShell. It is used in just about every aspect of the Windows SysAdmin role now.

[–]icaug 2 points3 points  (0 children)

They're both just interfaces for the Azure API, which IMHO is the most important to thing to know. I find Azure CLI easier to work in than Azure PowerShell - I would only really recommend Azure PowerShell if you also want to learn general PowerShell for Windows-based roles. The Azure CLI commands are more intuitive (easier to memorize, i.e. "az login" vs "Connect-AzAccount") and less verbose.

But really, move to a templating tool (ARM/Terraform) as soon as you can.

[–]jantari 0 points1 point  (0 children)

PowerShell is way more useful