Get-AzureStorageQueue
Lists storage queues.
Important
Because Az PowerShell modules now have all the capabilities of AzureRM PowerShell modules and more, we'll retire AzureRM PowerShell modules on 29 February 2024.
To avoid service interruptions, update your scripts that use AzureRM PowerShell modules to use Az PowerShell modules by 29 February 2024. To automatically update your scripts, follow the quickstart guide.
Syntax
Get-AzureStorageQueue
[[-Name] <String>]
[-Context <IStorageContext>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzureStorageQueue
-Prefix <String>
[-Context <IStorageContext>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzureStorageQueue cmdlet lists storage queues associated with an Azure Storage account.
Examples
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.
Parameters
Specifies the Azure storage context. You can create it by using the New-AzureStorageContext cmdlet.
Type: | Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer |
Aliases: | AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
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.
Type: | String |
Aliases: | N, Queue |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies a prefix used in the name of the queues you want to get.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext