FIM ScriptBox Item


A PowerShell module is available on CodePlex to simplify FIM management ( 

This article shows how to use that module to add a user to the FIM Service. 
Note: This snippet was copied from the FIM PowerShell Module project documentation.  There are more samples there, as well as the module source code.

Script Code

Import-Module C:\CodePlex\FimPowerShellModule.psm1


### Create a Person Object: Harry


New-FimImportObject -ObjectType Person -State Create -Changes @{

   DisplayName       = 'The Harry'

   AccountName       = 'Harry'

   FirstName         = 'Harry'

   Description       = 'Have any grapes?'

   EmployeeType      = 'Contractor'

   LastName          = 'Palmer'

   JobTitle          = 'Tester'

   Domain            = 'LITWARE'

   Email             = ''

} -ApplyNow



note Note
To provide feedback about this script, create a post on the FIM TechNet Forum.
For more FIM related Windows PowerShell scripts, see the FIM ScriptBox.


See Also