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 Active Directory-Domänendienste.

Get-MsmqCertificate

Returns certificates registered in Active Directory-Domänendienste.

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.

Hinweis

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

Um weitere Informationen zur Syntax beliebiger Cmdlets zu erhalten, verwenden Sie das Get-Help <Cmdlet-Name>-Cmdlet, wobei <Cmdlet-Name> der Name des Cmdlets ist, zu dem Sie Informationen wünschen. Um ausführlichere Informationen zu erhalten, können Sie die folgenden Cmdlets ausführen:

Get-Help <Cmdlet-Name> -Detailed
Get-Help <Cmdlet-Name> -Examples
Get-Help <Cmdlet-Name> -Full