Skip to content

{ Category Archives } VB.NET

Generate Unique Attribute Activity

When I first started out with MIIS I found the coding heavy going - but soon realised that the same few extension-writing methods are used for pretty much everything, and the fun bit was just how much I could achieve with them! Now on to FIM and I have struggled every bit as much with learning how to [...]

Powershell Activity

I have been working on a FIM 2010 workflow activity that will run powershell cmdlets and scripts, and I’m now ready to share the code with you lucky people. The activity should work with both local and remote powershell, bearing in mind the various limitiations that seem to occur when running remote powershell commands through [...]

How to use the FIM ReadResourceActivity, in VB.NET

Sometimes, while trying to figure out FIM 2010 custom workflows, it seems to me that everyone else finds this stuff bleedingly obvious – but then I remind myself that actually, I’m not a complete idiot, and if I’m finding it all a bit like wading through chest-high treacle, with submerged barbed wire for added interest, then other [...]

The FIM 2010 Custom Logging Activity in VB.NET

Here’s how I got the Custom Workflow Logging example working in VB.NET. Please consult this post together with the Microsoft document as I’m not going to reproduce the entire thing here. The usual warnings about me being no great developer also apply.

Things I’ve been learning about debugging custom workflows

I have finally jumped into the world of FIM 2010 custom workflow activites, since the release of a good walkthrough document. Of course I decided it would be much easier to convert it all to VB.NET … which then gave me ample opportunities for troubleshooting. Thanks to Anthony Ho and Paolo Tedesco for all the [...]

Running Remote Powershell scripts from VB.NET

I’ve been writing an XMA that uses powershell to communicate with MSOnline. Because of various connectivity issues I have to run the powershell commands on a server other than the FIM server – that is, I have to use remote powershell. There will be more detail on this XMA in a future post, however today [...]

The ILM_Scheduler is now available for download

As promised, I am now making my ILM_Scheduler service source code available for download. In brief, the notion is to optimise ILM/MIIS scheduling through the use of a queue. You add jobs to the queue and they are executed, one at a time, and in order of priority. You can schedule a job by adding [...]

Uniqueness check against the Metaverse

ILM works on a single object at a time, so it can be a little tricky if you want to make a decision based on other objects in your metaverse. It is, however, perfectly possible (though, I believe, officially discouraged) to run SQL queries against the metaverse table from your extension code.

Debugging your extension code from Visual Studio

Extension code cannot run standalone, but only within ILM. To debug the code you must first attach Visual Studio to the miiserver process.

Getting Started with Provisioning

I’m now at the point, in this series of posts for ILM-newbies, where I can start to look at provisioning code.