Remove-MSApplications
Remove (delete) a list of Applications. Use the -UnDelete switch to Undelete instead. When an Application is Deleted it is moved to a Delete queue to be deleted at a later date. Deleting these Applications again with the -AllowRealDelete will truly delete them from MS.
Syntax
Remove-MSApplications -AppIds (Int32[]) [-BatchSize (Int32)] [-AllowRealDelete] [-UnDelete]