Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Import-Module ExchangeOnlineManagement
- Connect-ExchangeOnline -UserPrincipalName username@domain.com -ShowProgress $true
- $SearchName = Read-Host "Name of the Content Search"
- New-ComplianceSearchAction -SearchName $SearchName -Purge -PurgeType HardDelete
- Get-ComplianceSearchAction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement