Gil Kirkpatrick (a great guy, fellow MVP, who has taught me a lot over the years) created one of the very first, if not the first, PowerShell commandlets libraries to manage FIM/MIM service. It hasn't had any activity in years, but it served as a great example to get others going.
If you like this simple approach you could check out Adam Weigert's PowerShell for FIM 2010 (see my review).
I recommend IS4U-FIM-PowerShell (see my review), this is what I use. But I also recommend Lithnext resourcemanagement-powershell (see my review).