This file contains 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
<Lithnet.ResourceManagement.ConfigSync> | |
<Operations> | |
<!-- Create Set --> | |
<ResourceOperation operation="Add Update" resourceType="Set" id="AgencyPhoneSet"> | |
<AnchorAttributes> | |
<AnchorAttribute>DisplayName</AnchorAttribute> | |
</AnchorAttributes> | |
<AttributeOperations> | |
<AttributeOperation operation="replace" name="DisplayName">_Agency (AGENCY) All Phones</AttributeOperation> | |
<AttributeOperation operation="replace" name="Filter" type="filter">/Phone[Agency = 'AGENCY']</AttributeOperation> |
This file contains 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
# Variables | |
$FIMServiceMA = "FIM Service MA" | |
if (!(Get-module LithnetMIISAutomation)) {Import-Module LithnetMIISAutomation} | |
$results = Get-MVObject -ObjectType synchronizationRule | |
foreach ($result in $results) | |
{ | |
Write-Host "Processing" $result.Attributes.displayName.Values.ValueString -BackgroundColor DarkGreen | |
# Take the MA Distinguished Name to the Connector Space object in the FIM Service MA CS |