Connect to O365 using powershell first
- Open PowerShell or EMS
- If this is an O365 mailbox, you will need to connect to the O365 environment
- Connect to Exchange On-line
- From the PowerShell console on an Exchange 2010 server:
$Cred = Get-Credential
$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection
Import-PSSession $s
Then run this command in powershell:
Search-Mailbox -identity “UsersMailbox” -SearchQuery kind:meetings -DeleteContent
Got a project that needs expert IT support?
From Linux and Microsoft Server to VMware, networking, and more, our team at CR Tech is here to help.
Get personalized support today and ensure your systems are running at peak performance or make sure that your project turns out to be a successful one!
CONTACT US NOW