Get-AzStorageAccount
The Get-AzStorageAccount cmdlet retrieves information about Azure storage accounts.
Synopsis
Get-AzStorageAccount
Parameters
-
Name - (Mandatory) The name of the storage account.
-
Force - Allows you to bypass confirmation prompts.
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