< Back

Invoke-AzureRmStorageQueuePeekMessage

Sat Jan 11, 2020 10:50 am

NAME Invoke-AzureRmStorageQueuePeekMessage



SYNOPSIS

Gets a single message from the queue without removing it from the queue.





SYNTAX

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





DESCRIPTION

Gets a single message 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



$message = Invoke-AzureRmStorageQueuePeekMessage -queue $queue











RELATED LINKS