Markus has put together a great set of example PowerShell scripts which automate many tasks in FIM.  Check them out today in the Scriptbox:

http://social.technet.microsoft.com/Forums/en-US/ilm2/thread/807617bc-b560-4cbe-a137-b9f338bfbd8e