Tuesday, November 09, 2010

ILM Sync Engine Configuration PowerShell Commandlet Update

ILM (the precursor to FIM) has had some PowerShell coverage for a while now, allowing the automation of configuration for ADMA and XMA management agent types.
The cmdlets don’t ship with the product as they do in FIM.  They can be downloaded here:
Identity Lifecycle Manager 2007 FP1 Sync Engine Configuration PowerShell Commandlets
Until recently there were three cmdlets available, but with a recent update they have added another cmdlet that allows you to toggle the provisioning extension.
PS C:\> Add-PSSnapin MIIS.MA.Config
PS C:\> Get-Command -Module MIIS.MA.Config
CommandType     Name
-----------     ----
Cmdlet          Import-MIISServerConfig
Cmdlet          Set-MIISADMAConfiguration
Cmdlet          Set-MIISExtMAConfiguration
Cmdlet          Set-ProvisioningRulesExtension
Here’s the contents from the cmdlet help to illustrate how the cmdlet is used:
--------------  Example 1 --------------
C:\PS>Set-ProvisioningRulesExtension true
This command will enable the provisioning rules extension.
Note: The provisioning rules extension assembly must be specified.

--------------  Example 2 --------------
C:\PS>Set-ProvisioningRulesExtension false
This command will disable the provisioning rules extension.
The cmdlet is toggling the checkbox for “Enable Provisioning Rules Extension”, as shown below.  It accepts a String instead of a Boolean, but specifying anything other than ‘true’ or ‘false’ results in an error.

No comments: