Populate Multivalue Attribute

Feb 20, 2013 at 8:31 AM
Edited Feb 21, 2013 at 3:48 PM

I use this module to automate group creation in FIM based on a CSV File.
I would populate the "OWner" attribute , which is a multivalue reference attribute. So, I identify users by AccountName. I have not found sample for multivalue attribute with multiple values at once.
Can you tell me if it is a supported operation (and a sample please)?

Thanks in advance, and thanks for this Powerfull Module!


James D
Feb 21, 2013 at 3:53 PM
My real problem was to build dynamically the changes list by adding attributes with conditions.
$changes = @(
    New-FimImportChange -Operation None -AttributeName 'Scope' -AttributeValue 'Global'
    New-FimImportChange -Operation None -AttributeName 'Type' -AttributeValue 'Security'
foreach ( $Owner in $OwnerList) {
    $changes += @(New-FimImportChange -AttributeName 'Owner' -Operation None -AttributeValue @('Person','AccountName',$Owner))