Last active
October 12, 2015 16:46
-
-
Save devigned/7db8d8ebe9913ef7f8bc to your computer and use it in GitHub Desktop.
Getting started with Azure 1.0 Preview Resource Manager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To login to Azure Resource Manager | |
Login-AzureRmAccount | |
# To view all subscriptions for your account | |
Get-AzureRmSubscription | |
# To select a default subscription for your current session | |
Get-AzureRmSubscription –SubscriptionName “your sub” | Select-AzureRmSubscription | |
# To select the default storage context for your current session | |
Set-AzureRmCurrentStorageAccount –ResourceGroupName “your resource group” –StorageAccountName “your storage account name” | |
# To import the Azure.Storage data plane module (blob, queue, table) | |
Import-Module Azure.Storage | |
# To list all of the blobs in all of your containers in all of your accounts | |
Get-AzureRmStorageAccount | Get-AzureStorageContainer | Get-AzureStorageBlob |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment