Hello,

I have found other posts about this with different ideas but I am still
uncertain if this is possible.

Current setup:

IDM 4.5.3
AD driver version 4.0.1.0
Exchange 2010

Driver is set up with round robin, meaning the defer option.

The customer would like to change the round load balancing so that it
chooses the database with the most space available. This is due to their
backup system, so moving some mailboxes to even it all out is not
possible (or quite difficult).

So, I was thinking about doing it like so:

Create a powershell script that is called from the AD driver, which
calculates what mailbox to create the mailbox on -> return the result to
the driver -> provision the mailbox.

But, as far as I know, when calling a script from the driver, like so:


Code:
--------------------
<do-set-dest-attr-value name="PSExecute">
<arg-value type="string">
<token-text xml:space="preserve">Disable-ADAccount -Identity </token-text>
<token-local-variable name="identityname"/>
</arg-value>
</do-set-dest-attr-value>
--------------------


Will only return this:

<status level="success"
event-id="linux-djs#20120510164317#1#2:facdcbbb-d440-4340-1b85-bbcbcdfa40d4"
type="powershell"/>

And it will take some time for it to get that back. I don't think it
will be possible to sort of pause the event and wait for the response
from Powershell (containing the database name) and then provision the
database?

How would I go about doing this?

Thanks in advance,

Jacob.


--
jacmarpet
------------------------------------------------------------------------
jacmarpet's Profile: https://forums.netiq.com/member.php?userid=415
View this thread: https://forums.netiq.com/showthread.php?t=57149