GalSync and custom rules extensions

When creating a custom rules extension, you often don’t want to write code to handle every function MIIS requires for the MA.

A trick I found is to use reflection to grab a dll, such as the Microsoft.Exchange.Dirsync.RulesExtensions.dll. You can create an object using that and then call the OOB functions for areas you do not want to customize in your custom rules extension. assem = [Assembly].LoadFrom(fileName)

Additionally, if you want to call a PowerShell command in your rules extension project, try the information provided here:http://groups.google.com/group/microsoft.public.windows.powershell/brows… and be sure to remember that referencing the System.Management.Automation.Runspaces.dll requires manually editing the .vbproj or .csproj, as described in an earlier post.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s