# Connect to Azure with an authenticated account.
Connect-AzAccount
# Get subscriptions that the current account can access.
Get-AzSubscription
# Gets the metadata used to authenticate Azure Resource Manager requests.
Get-AzContext | ft -Wrap -auto
# Sets the tenant, subscription, and environment for cmdlets to use in the current session.
Set-AzContext -SubscriptionName "Visual Studio Enterprise Subscription"
or
Set-AzContext -SubscriptionName "Azure for Students"
***Please note the "SU" subscription is not for academic use. |