DEV Community

Cover image for How to use PowerShell to create Resource group and virtual Machine in Azure
Konkwo Godwin
Konkwo Godwin

Posted on • Edited on

How to use PowerShell to create Resource group and virtual Machine in Azure

Firstly go to Azure portal
Then click on the Azure cloud shell in the Azure portal and select PowerShell

Image description

Create a storage if you donโ€™t have one. A Resource group script written to create a Resource group
Image description

Image description

Another script written for virtual machine
Image description
Virtual machine deployed
Image description

Image description
The deployed virtual machine is running

Image description

Top comments (1)

Collapse
 
yemmyoye profile image
Yemisi Oyesainu

nicely presented