Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Powershell script to clear MSMQ of old messages

Iterates over your private queues and removes "old" messages.

Installation

Right click on clearMSMQ.ps1 and choose Run with Powershell

Usage

Open clearMSMQ.ps1 and edit the options

# options 

# remove messages older than
# $old = $now.AddDays(-1)
$old = $now.AddMinutes(-10)

# show details of message to be removed
$showMsg = 1

# run without removing
$dryRun = 1

About

Powershell script to clear MSMQ of old messages

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages