Export (0) Print
Expand All

Message Queueing (MSMQ) Cmdlets

Windows Server 2012 R2 and Windows 8.1

Updated: May 8, 2014

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.

Microsoft Message Queuing (MSMQ)

This reference provides cmdlet descriptions and syntax for all MSMQ-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

 

cmdlet Description

Clear-MSMQOutgoingQueue

Purges outgoing queues.

Clear-MsmqQueue

Purges queues.

Enable-MsmqCertificate

Registers a certificate with Active Directory Domain Services.

Get-MsmqCertificate

Returns certificates registered in Active Directory Domain Services.

Get-MsmqOutgoingQueue

Gets outgoing message queues.

Get-MsmqQueue

Gets message queues.

Get-MsmqQueueACL

Gets queue access control lists.

Get-MsmqQueueManager

Gets a queue manager.

Get-MsmqQueueManagerACL

Returns access control lists for the local queue manager.

Move-MsmqMessage

Moves messages between subqueues or between the main queue and a subqueue.

New-MsmqMessage

Creates a message object.

New-MsmqQueue

Creates public or private queues.

Receive-MsmqQueue

Does a destructive read from a queue.

Remove-MsmqCertificate

Removes personal certificates.

Remove-MsmqQueue

Deletes queues.

Resume-MsmqOutgoingQueue

Resumes outgoing queues.

Send-MsmqQueue

Sends a test message to remote queues.

Set-MsmqQueue

Sets properties of queues.

Set-MsmqQueueACL

Modifies the access rights of queues.

Set-MsmqQueueManager

Configures the queue manager.

Set-MsmqQueueManagerACL

Modifies the access rights of a queue manager.

Suspend-MsmqOutgoingQueue

Pauses outgoing queues.

noteNote
To list all the cmdlets that are available, use the Get-Command -Module MsMq cmdlet.

For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft