If you don’t have Azure Powershell installed, here is how to do it:
From Powershell, enter Login-AzureRMAccount and hit Enter.
A Microsoft Azure login screen will pop up.
Log in with your Azure credentials. Now you’re ready to start working with Azure from the Powershell.