Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # To login to Azure Resource Manager
- Login-AzureRmAccount
- # You can also use a specific Tenant if you would like a faster login experience
- # Login-AzureRmAccount -TenantId xxxx
- # To view all subscriptions for your account
- Get-AzureRmSubscription
- # To select a default subscription for your current session
- Get-AzureRmSubscription –SubscriptionName “Free Trial” | Select-AzureRmSubscription
- # View your current Azure PowerShell session context
- # This session state is only applicable to the current session and will not affect other sessions
- Get-AzureRmContext
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement