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.