Skip to content

Instantly share code, notes, and snippets.

@pkirch
Created February 27, 2015 12:59
Show Gist options
  • Save pkirch/6807052e6d5933bebdd9 to your computer and use it in GitHub Desktop.
Save pkirch/6807052e6d5933bebdd9 to your computer and use it in GitHub Desktop.
This short PowerShell sample shows how to select only the storage account names of all storage accounts in an Azure subscription.
Get-AzureStorageAccount | Select-Object -Property StorageAccountName
<# Output
StorageAccountName
------------------
pkstoragesample1
pktest1
#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment