How to Use PowerShell to Remove OneDrive Files Found by a Content Search
Ever wondered how to perform selective deletion of OneDrive documents found in Content Searches? While you can remove email using a content search action, Office 365 doesn’t include a method to cleanup OneDrive documents found by content searches. This article demonstrates how to use PowerShell to view the set of files, and then select files to remove.