Resolution
goal
How do I do a 'recursive delete' of computer accounts via the Directory and Resource Administrator (DRA) ADSI provider?
fact
Directory and Resource Administrator 7.x
fix
How do I do a 'recursive delete' of computer accounts via the Directory and Resource Administrator (DRA) ADSI provider?
fact
Directory and Resource Administrator 7.x
fix
The Directory and Resource Administrator (DRA) ADSI provider computer object now supports the IADsDeleteOps interface and the DeleteObject method. Assuming you have already done a GetObject to the computer, you would then use:
comp.DeleteObject(CLng(1))
The Software Development Kit does not detail the Recursive delete syntax. A ticket is open to documentation to include this in a future version of the SDK.
Additional Information
Formerly known as NETIQKB42322