You’ll find great code snippets and short tips on MSExchange.org within the Knowledgebase section. My latest three are now available:
Reducing the Office 365 DirSync Schedule
Sometimes the default 3-hour DirSync schedule is not often enough. This quick tip explains how to reduce the sync schedule to something that better fits your organization:
Reducing the Office 365 DirSync Schedule
Performing Maintenance on Office 365 DirSync
After DirSync has been running for a while, advanced users who access the FIM GUI might notice that the logs start to increase in volume. This script shows you how to keep things under control:
Performing Maintenance on Office 365 DirSync
Scheduling an Exchange PowerShell Task
A quick simple tip here for anyone that needs to schedule an Exchange PowerShell script as a task. As you’ll see, it’s quite simple and easy, so if you need to regularly get a data export, this script is for you: