{"id":1098,"date":"2012-12-20T17:11:38","date_gmt":"2012-12-20T17:11:38","guid":{"rendered":"https:\/\/pipe2text.com\/?page_id=1098"},"modified":"2012-12-20T17:14:25","modified_gmt":"2012-12-20T17:14:25","slug":"delete-message-from-exchange-2010-submission-queue","status":"publish","type":"page","link":"https:\/\/pipe2text.com\/?page_id=1098","title":{"rendered":"Delete Message from Exchange 2010 Submission Queue"},"content":{"rendered":"<p>Run the following command. This will display what messages are in a particular queue at the time you run the command.<\/p>\n<p><strong>Get-Message | fl<\/strong><\/p>\n<p><strong><em>Results will show as follows:<\/em><\/strong><\/p>\n<p>[PS] C:\\Windows\\system32&gt;Get-Message | fl<\/p>\n<p>RunspaceId\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 883bd636-74ec-4369-9600-bd4160974776 Subject\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : Email Message InternetMessageId : &lt;<a href=\"mailto:D1DDE6E1F9167A4C9995C832434FDE73F60B89@mailserver.domain.com\">D1DDE6E1F9167A4C9995C832434FDE73F60B89@mailserver.domain.com<\/a>&gt; FromAddress\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : <a href=\"mailto:User@domain.com\">User@domain.com<\/a> Status\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : Retry Size\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 7.984 KB (8,176 bytes) MessageSourceName : FromLocal SourceIP\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 255.255.255.255 SCL\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : -1 DateReceived\u00a0\u00a0\u00a0\u00a0\u00a0 : 12\/19\/2012 9:38:30 AM ExpirationTime\u00a0\u00a0\u00a0 : 12\/21\/2012 9:38:30 AM LastError\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 420 4.2.0 RESOLVER.ADR.Ambiguous; ambiguous address RetryCount\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 0 Recipients\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : ComponentLatency\u00a0 : MessageLatency\u00a0\u00a0\u00a0 : 04:00:48.2666165 DeferReason\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : Ambiguous Recipient Priority\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : Normal MessageIdentity\u00a0\u00a0 : mailserver\\Submission\\16656 Queue\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : mailserver\\Submission Identity\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : mailserver\\Submission\\16656 IsValid\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : True<\/p>\n<p>Verify which message you want to delete. In this case there was a single message in the submission queue. Take note of the &#8220;Message Identity&#8221; as it will be used to delete the message in the next command<\/p>\n<p><strong>MessageIdentity\u00a0\u00a0 : mailserver\\Submission\\16656<\/strong><\/p>\n<p>Now that you have the message identity you can run the follwoing command to delete it<\/p>\n<p>[PS] C:\\Windows\\system32&gt;<strong>Remove-Message -Identity mailserver\\Submission\\16656<\/strong><\/p>\n<p>Confirm Are you sure you want to perform this action? Removing the message &#8220;mailserver\\Submission\\16656&#8221;. [Y] Yes\u00a0 [A] Yes to All\u00a0 [N] No\u00a0 [L] No to All\u00a0 [?] Help (default is &#8220;Y&#8221;): y [PS] C:\\Windows\\system32&gt;<\/p>\n<p>Press Y and the message will be removed from the queue<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Run the following command. This will display what messages are in a particular queue at the time you run the command. Get-Message | fl Results will show as follows: [PS] C:\\Windows\\system32&gt;Get-Message | fl RunspaceId\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 883bd636-74ec-4369-9600-bd4160974776 Subject\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : Email Message &hellip; <a href=\"https:\/\/pipe2text.com\/?page_id=1098\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":47,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"class_list":["post-1098","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/1098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/pipe2text.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1098"}],"version-history":[{"count":8,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/1098\/revisions"}],"predecessor-version":[{"id":1106,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/1098\/revisions\/1106"}],"up":[{"embeddable":true,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/47"}],"wp:attachment":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}