Problem You want to run PowerShell 3.0 cmdlets through FIM PowerShell Workflow Activity (FIM PS WF) (https://fimpowershellwf.codeplex.com)? As you may or may not know FIM2010 R2 Service is using a workflow host based on Workflow Foundation 3.5 (.NET 3.5). This means that you can only run PowerShell 2.0 cmdlets through the workflow from FIM.
#UPDATE 16. April 2013: Changed the PS script to write directly to binary attribute Picture in CS. Removing the need for rules extension. The new updates is uploaded in the zip file. Also remember to update your Schema file (example further down in this post).. #UPDATE 29. April 2013 – Fixed bug on line 74. […]
Maby you are using a PowerShell Workflow (Like Craig`s here, or Carol`s here) and you want to manipulate an attribute and write it to a attribute on a Person object in FIM. It`s actually really easy! Let`s say you are using a simple cmldet to enable a user for Lync 2010: Enable-CsUser –Identity $UserName –RegistrarPool […]
When working with a Powershell Workflow for FIM I needed to have Lync 2010 powershell modules installed locally on my FIM server. This was actually really easy to achieve. But at first glance I couldn`t find out where/how to get hold of the Lync modules. So. After alot of googling. I found out that the […]