Note 1: You can add -Debug parameter to debug cmdlet execution. Before we get started with managing Azure resources with Azure PowerShell we need to login into Azure and set our default subscription.