Get-Msmq
QueueACL
Syntax
Get-MsmqQueueACL
[-InputObject] <MessageQueue[]>
[<CommonParameters>]
Description
The Get-MsmqQueueACL cmdlet gets MsmqQueueAcl objects. The cmdlet applies to private, public, system journal, system dead-letter, and system transactional dead-letter queues.
Examples
Example 1: Get message queue ACLs
PS C:\> Get-MsmqQueue -Name "Order*" | Get-MsmqQueueACL
This command gets message queues that have names that start with Order by using the Get-MsmqQueue cmdlet. The command passes the results to the current cmdlet by using the pipeline operator. The current cmdlet gets ACLs for these queues.
Required Parameters
Specifies an array of MsmqQueue objects. The cmdlet gets access control list (ACL) information for queues that the MsmqQueue objects specify. This parameter accepts pipeline input.
Type: | MessageQueue[] |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |