CmdID / PowerShell / Cmdlets / Clear
Clear-MsmqOutgoingQueue
Clears outgoing queues. Windows Server PowerShell reference
From the Windows Server PowerShell reference 3 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-InputObjectSpecifies an array of MsmqOutgoingQueue objects.-WhatIf, -wiShows what would happen if the cmdlet runs.