How to connect to an Azure account using PowerShell?

How to connect to an Azure account using PowerShell?