< Back

New-AzureStorageQueue

Tue Jan 29, 2019 9:27 pm

NAME New-AzureStorageQueue



SYNOPSIS

Creates a storage queue.





SYNTAX

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





DESCRIPTION

The New-AzureStorageQueue cmdlet creates a storage queue in Azure.





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 for the queue.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

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: Create an Azure storage queue



PS C:\\>New-AzureStorageQueue -Name "queueabc"



This example creates a storage queue named queueabc.





Example 2: Create multiple azure storage queues



PS C:\\>"queue1 queue2 queue3".split() | New-AzureStorageQueue



This example creates multiple storage queues. It uses the Split method of the .NET String class and then passes the names on the pipeline.







RELATED LINKS

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

Get-AzureStorageQueue

Remove-AzureStorageQueue