This small sample shows:
  1. how to edit an existing object
  2. how to update a reference attribute

###
### Update Craig's manager to Bob
###
New-FimImportObject -ObjectType Person -State Put -Anchor @{AccountName='Craig'} -Changes @{
   Manager = ('Person','AccountName','Bob') 
} -ApplyNow

Last edited Aug 14, 2012 at 6:39 PM by CraigMartin, version 1

Comments

CraigMartin Mar 20, 2014 at 7:57 PM 
Good question. Check out this new sample:
https://fimpowershellmodule.codeplex.com/wikipage?title=Update%20a%20Person%27s%20Manager&referringTitle=Samples

sloyt Oct 29, 2012 at 12:04 PM 
How can I remove person's manager? I tried to set it to Null, to empty string, but nothing helps.