Exchange 2010 – Purge Deleted Items before retention limit kicks in.

Get all users Deleted Items size: Get-MailBox | Get-MailboxStatistics | select DisplayName,TotalDeletedItemSize Get a specific users Deleted Items Size: Get-MailboxStatistics <alias> | select DisplayName,TotalDeletedItemSize Purge All Users Deleted Items: get-mailbox | Search-mailbox -SearchDumpsterOnly -DeleteContent Purge a specific users Deleted Items: Search-mailbox -identity <alias> -SearchDumpsterOnly -DeleteContent    Check Database white space…continue reading →

Lync and Exchange Web Services (EWS) and different DNS Domains- Exchange crawling e.g. for presence

Source: there is always confusion in how Lync is crawling Exchange Web Services (EWS). Generally it is necessary to understand how DNS must be implemented: Just remember, identify if you have DNS Split configuration, different internal and external DNS names and what are your SMTP and SIP Domains. There…continue reading →

Add SIP address to all users in certain OU

This situation may come true if you have Onpremises Exchange and Online tenant Lync. Then you need to add a SIP address with the same name as the user is in the Online tenant. And here's the script: $mailboxes = Get-Mailbox -OrganizationalUnit contoso.local/Users/someOU foreach ($mailbox in $mailboxes) {Set-Mailbox -Identity $mailbox…continue reading →