Skip to main content

Posts

Showing posts from July, 2011

PowerShell DPE for SSRS

I came across this interesting project on CodePlex that allows you to use PowerShell scripts to generate data for SSRS reports. There is huge potential for use here as a sysadmin that may need to generate reports for users based on PowerShell accessible data (e.g. Exchange, SharePoint, Active Directory).

http://psdpe.codeplex.com/

FIM 2010 - PowerShell Extension

Update 2011-07-01: I have moved the code, docs, scripts to http://fim.codeplex.com

I have been busy, thus why I haven't posted here in a while, learning FIM 2010. One of the features that are nice about FIM 2010 is the codeless provisioning you can do. However, you will reach a point where you need more than what is available out of the box. I don't want to have to write .NET code everytime I need to customize an attribute flow. So, I built a simple extension class that loads PowerShell scripts for the MA's data directory and runs the commands via that. FIM 2010 has a long way to go to being perfect, but with this simple extension code, customization is slightly less painful than banging your head against the wall trying to figure out how to use as much out of the box as possible...

Example scripts are below:

[Deprovision.ps1]
param($csentry)  $ADS_UF_ACCOUNTDISABLE = 0x002  $ADS_UF_NORMAL_ACCOUNT = 0x200  switch ($csentry.ObjectType)  {  'user'    {  if ($csentry.D…