Get-AzStorageAccount

The Get-AzStorageAccount cmdlet retrieves information about Azure storage accounts.

Synopsis

Get-AzStorageAccount

Parameters

Examples

Retrieve information about a storage account named "mystorageaccount"

Get-AzStorageAccount -Name mystorageaccount
            

Retrieve information about a storage account named "mystorageaccount" and bypass confirmation prompts

Get-AzStorageAccount -Name mystorageaccount -Force
            

Retrieve information about all storage accounts in a subscription

Get-AzStorageAccount