FIM ScriptBox Item

Summary

A PowerShell module is available on CodePlex to simplify FIM management (http://fimpowershellmodule.codeplex.com/  ).

This article shows how to use that module to delete a user from 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

###

### Delete Bob the Person

###

New-FimImportObject -ObjectType Person -State Delete -AnchorPairs @{AccountName='Bob'} -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