Get-MsmqQueueACL
Gets queue access control lists.
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.
Parameters
-InputObject
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 |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Microsoft.Msmq.PowerShell.Commands.MessageQueue[]