Remove-SCQueue

Mar 26, 2015 at 12:47 AM
Why can't I simply use "Get-SCQueue" and then pipe the output to "Remove-SCQueue"
.
Error Message:
Remove-SCQueue : The group object could not be deleted because it is either not contained in the management pack or has been otherwise modified since adding it to the system.
At line:1 char:103+ get-scqueue "<<Queue Name>>" | remove-scqueue <<<< + CategoryInfo : NotSpecified: (:) [Remove-SCQueue], InvalidGroupTypeException + FullyQualifiedErrorId : Microsoft.EnterpriseManagement.Common.InvalidGroupTypeException,SMLets.RemoveSCQueueCommand