Skip to content

Instantly share code, notes, and snippets.

Erdem rifaterdemsahin

View GitHub Profile
@rizkyario
rizkyario / azure-powershell-cheatsheet.ps1
Last active May 7, 2020
Azure Powershell Cheatsheet
View azure-powershell-cheatsheet.ps1
# To log in to Azure Resource Manager
Login-AzureRmAccount
# You can also use a specific Tenant if you would like a faster log in experience
# Login-AzureRmAccount -TenantId xxxx
# To view all subscriptions for your account
Get-AzureRmSubscription
# To select a default subscription for your current session.
You can’t perform that action at this time.