< Back

Clear-AzureRmStorageQueue

Sat Jan 11, 2020 10:49 am

NAME Clear-AzureRmStorageQueue



SYNOPSIS

Clears all messages in a queue.





SYNTAX

Clear-AzureRmStorageQueue [-queue] <AzureStorageQueue> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Clears all messages in a queue.





PARAMETERS

-queue <AzureStorageQueue>

Name of the queue to be cleared.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Clear-AzureRmStorageQueue -queue $queue















RELATED LINKS