VENDAS: 1-800-867-1389
EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

Get-AzureStorageAccount

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Get-AzureStorageAccount

Gets the storage accounts for the current Windows Azure subscription.

 

Parameter Set: Default
Get-AzureStorageAccount [[-StorageAccountName] <String> ] [ <CommonParameters>]




 

The Get-AzureStorageAccount cmdlet returns an object with the details about the storage accounts for the current subscription. If the StorageAccountName parameter is specified, then only that storage account is returned.

 

-StorageAccountName<String>

If specified, the cmdlet returns only the specified storage account object.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • ManagementOperationContext

 

-------------- Example 1 --------------

This command returns an object with all the storage accounts associated with the current subscription.


C:\PS>Get-AzureStorageAccount

-------------- Example 2 --------------

This command returns an object with only the "mystore1" account information.


C:\PS>Get-AzureStorageAccount –StorageAccountName "mystore1" 

-------------- Example 3 --------------

This command returns an object with all the storage accounts associated with the current subscription, and outputs them as a table showing the account name, the account label, and the storage location.


C:\PS>Get-AzureStorageAccount | Format-Table -auto @{Label="Name";Expression={$_.StorageAccountName}},"Label","Location"

Related topics

New-AzureStorageAccount

Set-AzureStorageAccount

Get-AzureStorageAccount

Format-Table

Isso foi útil para você?
(1500 caracteres restantes)
Agradecemos os seus comentários
A Microsoft está realizando uma pesquisa online para saber sua opinião sobre o site do MSDN. Se você optar por participar, a pesquisa online lhe será apresentada quando você sair do site do MSDN.

Deseja participar?
Mostrar:
© 2014 Microsoft