Friday, September 14, 2018

Powershell MA version 5.5.3.1309 released

Glad to announce that the Powershell MA has a new version out. It's has been a while since the last release since there has been no reports of bugs or any feature request lately, the previous version seems to be pretty stable.

This new version hasn't changed all that much and there are no breaking changes either. It has, however, a new feature that I personally have missed from time to time; an extra parameter $Schema is added to the Import and Export scripts. And as you may have guessed, it is an PSObject that describes the schema for the particular MA. Having this information allows you to build a little more dynamic into your Powershell scripts used with the PSMA.

Also, a litte logging / tracing bug has been fixed. It is something, you may not have noticed but now it is fixed. It has to do with how the PSMA catches Write-Warning and Write-Error output from your scripts. Remember, you can set your $WarningPreference, $ErrorPreference and other preferences such as Verbose and Debug in your scripts and have the PSMA pick up any output from these statements and output to the Trace log.

Anyways, give the new version of the MA a spin and let me know if you can how it goes.

Thanks,
Soren

Monday, July 16, 2018

Microsoft Identity Manager 2016 SP1 hotfix (4.5.26.0) Released

A new hotfix for MIM 2016 has been released. A little interesting note is the support for Group Managed Service Accounts that is mentioned in the release notes. I'll have to dig further into that.

Anyway, you can grab it here - https://blogs.technet.microsoft.com/iamsupport/2018/07/16/support-release-mim2016-microsoft-identity-manager-2016-sp1-hotfix-4-5-26-0-released/

See you in the metaverse,
Soren

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