Message Queueing (MSMQ) Cmdlets in Windows PowerShell

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 services de domaine Active Directory.

Get-MsmqCertificate

Returns certificates registered in services de domaine Active Directory.

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.

Notes

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

Pour plus d’informations sur les applets de commande ou leur syntaxe, utilisez l’applet de commande Get-Help <nom de l’applet de commande>, où <nom de l’applet de commande> est le nom de l’applet de commande que vous voulez rechercher. Pour plus d’informations, vous pouvez exécuter les applets de commande suivantes :

Get-Help <nom de l’applet de commande> -Detailed
Get-Help <nom de l’applet de commande> -Examples
Get-Help <nom de l’applet de commande> -Full