Thursday, April 19, 2018

Saving FIM / MIM configuration

Just a quick note with a small Powershell script that I made to export configuration for the Synchronization Engine. I use this script on and off at customers to make sure that we can get back to a former state - or move existing configuration from environment to environment when building.

Feel free to use and modify

param
(
    $miispath = 'C:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\Bin\',
    $maexport = ( join-path $miispath 'maexport.exe' ),
    $svrexport = ( join-path $miispath 'svrexport.exe' ),
    $managementagents = ('ad', 'crm-emp','crm-emp-ad','db-member','crm-member', 'sp-profile'),
    $exportdir = 'export-config'
)
$date = (get-date).tostring('yyyy-MM-dd')

# create base folders with current date
$madir = join-path (join-path (join-path . $exportdir ) $date) 'ma'
write-debug $madir
$null = new-item -path $madir -type directory -force

$svrdir = join-path (join-path (join-path . $exportdir ) $date) 'svrexport'
write-debug $svrdir
$null = new-item -path $svrdir -type directory -force

foreach ($ma in $managementagents)
{
    $null = new-item -path test -type directory -force
    & $maexport $ma (join-path $madir "$($ma).xml")
}

& $svrexport $svrdir


Thanks,
Soren

Sunday, November 26, 2017

Codeplex down, Github up!!!

HEADS UP!
I finally got around to moving all my FIM/MIM projects from Codeplex to Github. If you use any of the following FIM projects of mine, please consider changing all links and maybe following the projects on Github now.

FIM/MIM SQL Management Agent - https://github.com/sorengranfeldt/sqlma
FIM 2010 Workflow Activity Library - https://github.com/sorengranfeldt/fimactivitylibrary
Codeless Provisioning Framework, FIM.MRE - https://github.com/sorengranfeldt/mre
FIM/MIM MA Rules Extension Framework - https://github.com/sorengranfeldt/mare

I still need to visit the documentations and fix a few mistakes after migration - I'll do that in the near future.

Thanks,
Søren Granfeldt

Monday, February 20, 2017

FIM.MARE has moved to Github

Just a quick note to let you know that the project FIM.MARE has moved from CodePlex to Github. So please help spread the word and update any links that you may have sitting out there.

So if you want to continue doing advanced codeless flow rules without Synchronization Rules, then the new place to be ishttps://github.com/sorengranfeldt/mare

Thanks,
G

Thursday, December 1, 2016

FIM.MRE moved to Github

Just a quick note to let you know that the apparently popular project FIM.MRE has moved from CodePlex to Github. So please help spread the word and update any links that you may have sitting out there.

So if you want to continue doing codeless provisioning without Synchronization Rules, then the new place to be is https://github.com/sorengranfeldt/mre

Thanks,
G


Tuesday, November 22, 2016

MARunScheduler moved to Github

Just a quick note to let you know that my old project MARunScheduler has moved from CodePlex to Github. So please help spread the word and update any links that you may have sitting out there.

The new place to be is https://github.com/sorengranfeldt/marunscheduler

Thanks,
G