Re:Jeffrey Snover and the Making of PowerShell
by pletnes on Thursday July 04, 2024 @08:20AM
(#40874307)
My biggest gripe is that some Azure stuff seems to be available only through powershell, which is hard to install and configure (I think) in certain corporate policy-infested environments.
[ Parent
| on HN ]
Re:Jeffrey Snover and the Making of PowerShell
by pjmlp on Thursday July 04, 2024 @10:24AM
(#40875197)
Actually Azure CLIs are kind of schizophrenic, in typical MS fashion.
You have Azure Powershel Cmdlets (the old 5.1 based, and the new Powershell Core based), AZ CLI (in Python), AZD CLI (in Go).
The only one that offers full power is actually the AZ CLI one, e.g. some Kubernetes features aren't exposed in the others.
Re:Jeffrey Snover and the Making of PowerShell
by lc9er on Thursday July 04, 2024 @06:20PM
(#40878530)
Yeah - and a number of Azure/O365 Powershell modules have long been deprecated. The promise of 1:1 Graph API replacements has failed to materialize for years now.
Re:Jeffrey Snover and the Making of PowerShell
by mycall on Thursday July 04, 2024 @10:24PM
(#40879461)
Is this a case of programming languages > shell scripts, or REST APIs the LCD?
Re:Jeffrey Snover and the Making of PowerShell
by Uvix on Thursday July 04, 2024 @08:41AM
(#40874454)
The Az PowerShell module just uses HTTP APIs, so anything they do can be done with other tooling if you really want to.
(There’s also the Az CLI tool, which I don’t like as much as the Az PowerShell module but might be easier to manage in an environment like that.)
Re:Jeffrey Snover and the Making of PowerShell
by ExoticPearTree on Thursday July 04, 2024 @09:57AM
(#40875009)
Yes, true, they call APIs. But for whatever reason, MS decided that instead of documenting those APIs they went on the route of abstracting them in PS modules or the az-cli submodules that its mind boggling.
Re:Jeffrey Snover and the Making of PowerShell
by RajT88 on Thursday July 04, 2024 @01:17PM
(#40876512)
The REST API is documented. Maybe not completely so, but mostly.
Re:Jeffrey Snover and the Making of PowerShell
by nullindividual on Thursday July 04, 2024 @10:02AM
(#40875046)
The Azure CLI [0] is a viable method of managing Azure infrastructure if you don't/cannot use PowerShell.
[0] https://learn.microsoft.com/en-us/cli/azure/what-is-azure-cl...