IT Knowledge Base

Technical Repository

HowTo: Run a full directory synchronization with Office 365

The first synchronization with DirSync is a full synchronization. Then all others synchronizations are delta synchronizations and are scheduled every 3 hours. Open the Registry Editor and edit the following key: HKEY_LOCALMACHINE\Software\Microsoft\MSOLCoExistence Change FullSyncNeeded value to 1. Open powershell and run: Import-Module DirSync Start-OnlineCoexistenceSync

Read More


HowTo: Add multiple IP’s to Exchange Receive Connector CLI

Return the list of IP’s from the connector: Get-ReceiveConnector “Relay Connector” | fl RemoteIPRanges Add a single IP address to the Connector. We pull the list of existing IP’s and append the new IP and then add the entire list back. $RecvConn = Get-ReceiveConnector “Relay Connector” $RecvConn.RemoteIPRanges += “10.0.0.99” Set-ReceiveConnector “Relay Connector” -RemoteIPRanges $RecvConn.RemoteIPRanges Read […]

Read More


HowTo: Exchange 2010/2013 – Give user full access to all mailboxes

Give access to all mailboxes Get-Mailbox | Add-MailboxPermission -User gmatteson -AccessRight FullAccess -InheritanceType All -Automapping $false Remove access to all mailboxes Get-Mailbox | Remove-MailboxPermission -User gmatteson -AccessRights FullAccess This cmdLet can be used to give a user full access permissions to all mailboxes in Exchange and to all future mailboxes that will be created. Get-MailboxDatabase […]

Read More


HowTo: Get the LastLogonTime to a mailbox for a user on Exchange 2013

If we want to check when a user last logged on to their mailbox in Exchange 2013 you need to run the following cmdlet: Get-MailboxStatistics [email protected]| Select DisplayName, LastLoggedOnUserAccount, LastLogonTime or to view the statistics for all mailboxes Get-Mailbox | Get-MailboxStatistics | Select DisplayName, LastLoggedOnUserAccount, LastLogonTime

Read More


HowTo: Exchange 2013 – Receive Connector – Configure a SMTP Relay

1. Log into the Exchange Control Panel and navigate to Mail Flow > Receive Connectors. 2. Click the + icon to create a new receive connector. 3. Under Name, type in Outbound Relay. Under Role, select Frontend Transport and under Type select Custom and click Next. 4. By default this receive connector will bind to all of the […]

Read More


HowTo: Exchange 2013 – Give admin access to all mailboxes. Disable Automapping.

Open the Exchange Management Shell and type in: Get-Mailbox | Add-MailboxPermission -user gmatteson -AccessRights FullAccess -InheritanceType All -AutoMapping $false In Exchange 2010 Service Pack 1 (SP1) Exchange introduced a feature that allows Outlook clients to automatically map to any mailbox to which a user has Full Access permissions. If a user is granted Full Access […]

Read More


HowTo: Automate Exchange 2010/2013 CAS Server Setup – Requires Split DNS

Configuration Commands We want to create the array even if we only have one CAS server. This way, in the future if we want to add additional hosts we already have the array created and adding additional hosts should be ‘plug and play’. You can create a load balanced array of Client Access server computers. […]

Read More