Description: Here I have explained, How to install and use Azure Powershell Module. Basic use of Azure module.
Procedure:
- First we verity whether azure module installed or not. You can verify by using below command in Powershell
- Here you can see no azure module has been install. So I am going to install using install-module command. allowclobber option will overwrite if any module already installed and update if any package need to update.
- Once installation will completed you will get command line list all azure commands
- First we authenticate using connect-azaccount command you will popup for user name and password for Azure
- Once you will connected it shows your subscription id and account details
- Now I am going to create virtual machine using powershell console. Once you below given command it ask for credentials so pass user name and password for same
- Once you pass credentials it will start deploying VM. You will see virtual machine in the list of azure virtual machine
- You can also remove virtual machine using below command
No comments:
Post a Comment