I’ve just posted this script to the FIM Forum Scriptbox. It helped me do a bulk update of attributes in the FIM Portal that, for various reasons, I didn’t want to export through ioption binary trading Sync Service.
It helped me do a bulk update of attributes in the FIM Portal that, for various reasons, I didn’t want to export through the Sync Service. I tried to make the script as flexible as possible, so it reads the attribute names from the header row of the CSV. I’ve only tested it wth single-valued string attributes so far. If you’ve just added a new attribute to the schema you will need to restart your powershell session. The error I was getting was System. This script will update resources in the FIM Portal using values in a CSV file.
The remaining columns have the target Attribute Name from the FIM Portal as header. Note we’re not using import-csv because we don’t know what the column headers will be. I’ve done custom objects without any trouble. Sometimes I think I’ve set an attribute and then I really haven’t.
So you’re clear on what you need to set, start trying to prepare an import object in Powershell ISE where you can do one step at a time and check the state of the object as you go. Changes before importing is often instructive. MPRs i need to include the object in or any other settings ill need to check? Looks like everything imports except the filter? You do not appear to be defining the values for PREFILTER and POSTFILTER.
Have a look at my other script on the technet wiki for creating groups from a CSV. Have you bound the same underlying filter attribute to your custom object type? There may be extra error info in the Requests history. It is pretty much always better to use the generic types and distinguish between different categories using attributes. How would you do this if you wanted to remove or null out a single value? I haven’t tried attaching a debugger to it, I just stick to verbose logging from my scripts. Any questions about the activity itself should go on its codeplex site.