< Back

Invoke-AzureRmStorageQueuePeekMessageList

Sat Jan 11, 2020 10:50 am

NAME Invoke-AzureRmStorageQueuePeekMessageList



SYNOPSIS

Gets a list of messages from the queue without removing it from the queue.





SYNTAX

Invoke-AzureRmStorageQueuePeekMessageList [-queue] <AzureStorageQueue> [<CommonParameters>]





DESCRIPTION

Getsa list of messages from the queue without removing it from the queue.





PARAMETERS

-queue <AzureStorageQueue>

Name of the queue to retrieve (using peek) the message



Required? true

Position? 1

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:\\># Getting a message without removing or hidding from the other processes using the queue



$messages = Invoke-AzureRmStorageQueuePeekMessageList -queue $queue











RELATED LINKS