Sample for creating a Person object with a bunch of attributes.

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      = 'palmer@litware.ca'
} -ApplyNow

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

Comments

No comments yet.