< Back

Get-AzureStorageQueue

Tue Jan 29, 2019 9:26 pm

NAME Get-AzureStorageQueue



SYNOPSIS

Lists storage queues.





SYNTAX

Get-AzureStorageQueue [[-Name] <String>] [-Context <IStorageContext>] [<CommonParameters>]



Get-AzureStorageQueue [-Context <IStorageContext>] -Prefix <String> [<CommonParameters>]





DESCRIPTION

The Get-AzureStorageQueue cmdlet lists storage queues associated with an Azure Storage account.





PARAMETERS

-Context <IStorageContext>

Specifies the Azure storage context. You can create it by using the New-AzureStorageContext cmdlet.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false



-Name <String>

Specifies a name. If no name is specified, the cmdlet gets a list of all the queues. If a full or partial name is specified, the cmdlet gets

all queues that match the name pattern.



Required? false

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? true



-Prefix <String>

Specifies a prefix used in the name of the queues you want to get.



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, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

IStorageContext

Parameter 'Context' accepts value of type 'IStorageContext' from the pipeline



String

Parameter 'Name' accepts value of type 'String' from the pipeline





OUTPUTS

Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageQueue







NOTES









Example 1: List all Azure Storage queues



PS C:\\>Get-AzureStorageQueue



This command gets a list of all storage queues for the current Storage account.





Example 2: List Azure Storage queues using a wildcard character



PS C:\\>Get-AzureStorageQueue -Name queue*



This command uses a wildcard character to get a list of storage queues whose name starts with queue.





Example 3: List Azure Storage queues using queue name prefix



PS C:\\>Get-AzureStorageQueue -Prefix "queue"



This example uses the Prefix parameter to get a list of storage queues whose name starts with queue.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... oragequeue

New-AzureStorageQueue

Remove-AzureStorageQueue