New to Azure and Powershell. I used the following script to connect to my Azure subscription and storage account.
Import-Module "C:\Program Files (x86)\Microsoft SDKs\WindowsAzure\PowerShell\Azure\Azure.psd1"
Import-AzurePublishSettingsFile 'C:\AZURE_POWERSHELL\DETAILS.publishsettings'
Set-AzureSubscription -SubscriptionName subname -CurrentStorageAccount storagename
Select-AzureSubscription -SubscriptionName subname
I wish to query the storage account now to:
- Count the number of containers in Blob.
- Count the number of documents these containers.
- Return the file storage size of all documents.
- Return the file storage size of documents with a specified date range.
Is this possible from Azure Powershell?
Thank you.