Get-MsmqQueueACL
Gets queue access control lists.
Syntax
Default (Default)
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.
Parameter properties
| Type: | MessageQueue[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.