AnswerBun.com

Local install of powershell instead of https://shell.azure.com?

Server Fault Asked by Bruce Adams on September 13, 2020

I am trying to use Powershell to create VMs on Azure because I cannot find the necessary functionality on the portal (or get it to work).

Is it possible to administrate Azure using a local instance of powershell rather than the online version?

If so how do you install the relevant cmdlets?
For example how do I install New-AzVm?

I am running RedHat linux and have (somewhat reluctantly) installed pwsh via the instructions here.

One Answer

As you are on Linux and haven't stated any specific requirement for Azure PowerShell I'd suggest to use Azure CLI instead. Installation instructions can be found here.

Correct answer by Matze on September 13, 2020

Add your own answers!

Related Questions

Port not responding remotely, but shows as open locally

1  Asked on November 12, 2021 by avjinder-sekhon

       

nginx error 500 when making api request to backend container

0  Asked on November 12, 2021 by christian-geng

         

Understanding smartd

1  Asked on November 12, 2021 by dovid-bender

     

mdadm alerts configuration

0  Asked on November 12, 2021 by mindserver

   

Cannot restart apache after certificate replacement

1  Asked on November 12, 2021 by kyle-banerjee

   

Reverse proxying a HLS stream with nginx

0  Asked on November 12, 2021 by mayleap1

         

Varnish PURGE client.ip docker-compose

1  Asked on November 12, 2021 by zhartaunik

   

Nginx refuses custom error pages

1  Asked on November 12, 2021

       

splitting tcp traffic to multiple recipients on the backend?

1  Asked on November 12, 2021 by kevin-martin

       

Curl – download file range

2  Asked on November 10, 2021

 

apache times out with low cpu and memory usage

1  Asked on November 10, 2021 by develth

     

MySQL Cluster SQL Node not synchronizing

1  Asked on November 10, 2021 by user2249803

   

nginx: different configuration based on cookie

2  Asked on November 10, 2021 by jay-paroline

 

How to connect to Windows Nano Server via SSH?

2  Asked on November 10, 2021 by andre-figueiredo

     

Redirect to localhost:8080?

3  Asked on November 10, 2021 by meds

     

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir