Exporteren (0) Afdrukken
Alles uitvouwen
EN
Deze inhoud is niet beschikbaar in uw taal, maar wel in het Engels.

Get-AzureStorageContainer

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

Get-AzureStorageContainer

Lists the storage containers.

 

Parameter Set: ContainerName
Get-AzureStorageContainer [[-Name] <String> ] [-Context <AzureStorageContext> ] [ <CommonParameters>]

Parameter Set: ContainerPrefix
Get-AzureStorageContainer -Prefix <String> [-Context <AzureStorageContext> ] [ <CommonParameters>]




 

This topic describes the cmdlet in the .6.19 version of the Windows Azure PowerShell module. To find out the version of the module you're using, from the Windows Azure PowerShell console, type (get-module azure).version.

Lists the storage containers associated with the storage account in Windows Azure.

 

-Context<AzureStorageContext>

Specifies the storage context. To create it, you can use the New-AzureStorageContext cmdlet.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies the container name. If container name is empty, the cmdlet lists all the containers. Otherwise, it lists all containers that match the specified name or the regular name pattern.


Aliases

N,Container

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName, ByValue)

Accept Wildcard Characters?

false

-Prefix<String>

Specifies a prefix used in the name of the container or containers you want to get. You can use this to find all containers that start with the same string, such as ‘my’ or ‘test’.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

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.

 

Example 1

This example uses a wildcard character to return a list of all containers with a name that begins with ‘container’.


C:\PS> Get-AzureStorageContainer container*

Example 2

This example uses the Prefix parameter to return a list of all containers with a name that begins with ‘container’.


C:\PS> Get-AzureStorageContainer -Prefix container

Related topics

Weergeven:
© 2014 Microsoft