Call PowerShell from IDM engine (Windows only)

If you have your NetIQ IDM Engine on eDirectory which is running on a Windows Server, then you might just want to call PowerShell directly from the Engine; at least you have the capability of doing so.

The following code snippets (both DirXML Script and ECMAScript) will allow you to do just that. Of course, this only works on Windows, but it’s a good alternative if you would like any NetIQ IDM Driver to be able to execute PowerShell scripts.

The DirXML Script Code

The following code will create a Home Folder when a User is created in Active Directory.

The ECMAScript Function