Created
October 11, 2017 06:25
-
-
Save mattwoolnough/de1e90320a0eed2cfeaa38d710ca6d2d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module LithnetMIISAutomation | |
$SyncRules = Get-MVObject -ObjectType "synchronizationRule" | |
$FIMMA = "MIM MA" | |
ForEach ($Rule in $SyncRules) | |
{ | |
$ConnectorSpaceDN = $Rule.CSMVLinks[0].ConnectorSpaceDN | |
Get-CSObject -DN $ConnectorSpaceDN -MA $FIMMA | Sync-CSObject -Commit | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment