FIM CS Synchronization Rule Viewer Plus
Name Latest Version FIM CS Synchronization Rule Viewer Plus 2.5 Description: The FIM CS Synchronization Rule Viewer Plus is a script to display and document your FIM synchronization rules: Display – because the script has a UI to render your configuration Document – because you can copy a displayed configuration to the clipboard and save it to a file. The script is based on the HTA (HTML Application) framework – a framework that enables you to develop scripts that look like Windows applications without the need of writing code in Visual Studio. Important It is highly recommended that you read the FIM ScriptBox Read Me First, before running this script on your computer. If you have PowerShell installed on your FIM server, make sure that it is configured to allow running scripts. The command to verify this is “get-executionpolicy”. To enable all Windows PowerShell scripts to run, use the following command: "set-executionpolicy unrestricted". Please see the PowerShell documentation for more details. The FIM CS Synchronization Rule Viewer Plus and the FIM CS Synchronization Rule Viewer are basically the same.The major difference between both scripts is that you don't need to look up a DN to use the Plus version.The tradeoff is that it might take a while until you get the list of synchronization rules. It would be nice to get some feedback on how the script behaves in larger environments...I'm wondering whether the time it takes to build the list of synchronization rules is acceptable. To download this script, use this link.To get to the FIM ScriptBox, use this link.
August 5th, 2009 1:54am

Thanks for taking the time to incorporate user feedback Markus! :)While I understand Browse will be slow in larger environments it's perfect for the lab(s) and pre-pre-production environments we're developing in!Thank you for taking the time to develop and share all these tools. It's appreciated.
Free Windows Admin Tool Kit Click here and download it now
August 5th, 2009 10:30am

I'm trying to run this script on my FIM 2010 RC1 box but I'm always getting an error at launch time (screenshot of the error ) The Powershell setting executionpolicy is set to unrestricted. What is really funny is that if the copy/paste buffer contains a string (from the last Ctrl+C command) I get an error box at launch time containing the string from the copy/paste buffer (screenshot of the error box ) Any idea ? Thanks in advance -- Joaquim
October 22nd, 2009 4:21pm

Joaquim, Unfortunately, I wasnt able to figure out, what is causing the error on your system.However, I have fixed some other little things I have found. Please download the most recent version (1.6) of the script.In the script folder, you find a file called DelADS.vbs.You should run this file before running the main script. While I dont exactly know, what the reason for your issue is, I can at least explain the funny thing you see.The GUI of this script is based on a HTA that has some VBScript code.The main operations are implemented as PowerShell scripts.In this architecture, the VBScript calls PowerShell scripts to do some operations.To exchange data between the PowerShell script and the VBScript, Im using the clipboard. If an error occurs when running a PowerShell script, the script writes the error message to the clipboard and sets an exit code.After running a PowerShell script, the VBScript code checks the exit code of this process.Apparently, some kind of error occurs when running the PowerShell script called GetSrNames.ps1.For some reason, there is no error message set by the PowerShell script. This is, why you got the error message (invalid use of Null) or the text that is in your clipboard as error message. To summarize, when running the PowerShell script GetSrNames.ps1, an error occurs but the error message is for some reason not written to the clipboard.To track this issue down (if it still exists), I have added another VBScript file (GetSrNames.vbs) to the Res folder.In case, the error still persists on your computer, run GetSrNames.vbs and let me know what the outcome is. This should help us to figure out whats going wrong.Cheers,MarkusMarkus Vilcinskas, Knowledge Engineer, Microsoft Corporation
Free Windows Admin Tool Kit Click here and download it now
October 25th, 2009 4:53am

Hi Markus, this script is really helpful, thanks, you got my vote! :) Just a small suggestion (please feel free to ignore it): have you considered using the FIMAutomation snapin to get the synch rules definitions from the FIM Portal? Maybe this would allow using the tool also in production environments: the way I see it, the tool is not really "suited for production enviroments" only because the csexport command might take a long time to complete, otherwise as a documentation tool it's perfect... Or maybe even an "hybrid" approach, i.e. get the synch rules IDs with the FIMAutomation snapin (to populate the drop-down list), then get the synch rule object from the connector space with a WMI query as you were doing with the previous Synchronization Rule Viewer (no need to write a new xslt...) Cheers, PaoloPaolo Tedesco - http://espace.cern.ch/idm
November 19th, 2009 5:15pm

Thanks Paolo!You are right on the money - the FIM Object Visualizer does what you are looking for.It is based on Joe Schulman's wonderful export component - and it is fully customizable.I was thinking about pulling the CS based viewers; however, they can be still helpful in case of troubleshooting.To document your current configuration, the Object Visualizer is definitely the better tool.Cheers,MarkusMarkus Vilcinskas, Knowledge Engineer, Microsoft Corporation
Free Windows Admin Tool Kit Click here and download it now
November 19th, 2009 7:05pm

I had missed it completely... many thanks & hats off! Cheers, PaoloPaolo Tedesco - http://espace.cern.ch/idm
November 19th, 2009 7:07pm

NameLatest Version FIM CS Synchronization Rule Viewer Plus 2.0 What's New: The FIM CS Synchronization Rule Viewer Plus can now be used in a production environment.I have replaced the method to retrieve the names of the synchronization rules.The new version leverages the export component of the FIM migration tools to get the names. The new version is more than just a method to render synchronization rules.You can use the viewer to troubleshoot declarative provisioning related issues.If the connector field has a value, the synchronization rule has been projected into the metaverse.If the value of the pending field is "No", the rendered synchronization rule represents also what you have in the metaverse.In other words, you can use the viewer to display the metaverse version of your synchronization rule. The objective of the new HTML button is to store the HTML code of a report in your clipboard.That way, you can include a synchronization rule configuration report into a post on this forum.When you edit a post, you can find a HTML button in the toolbar of the forum editor: The HTML button gives you access to the HTML Source Editor.You can paste the HTML code of your clipboard into the HTML Source Editor to include a synchronization rule in your post. Important It is highly recommended that you read the FIM ScriptBox Read Me First, before running this script on your computer. It would be nice to get some feedback on how the script behaves in larger environments... To download this script, use this link.To get to the FIM ScriptBox, use this link.Markus Vilcinskas, Knowledge Engineer, Microsoft Corporation
Free Windows Admin Tool Kit Click here and download it now
November 29th, 2009 7:45am

Version 2.5 is available.Cheers,MarkusMarkus Vilcinskas, Knowledge Engineer, Microsoft Corporation
February 19th, 2010 6:34am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics