These set of scripts should be used in DRA 7.0 and should be applied as follows:
UserDeletePreTask.vbs This Pre-task trigger script performs the following tasks: (This trigger supports version DRA 7.0) 1. Determines whether the delete operation is actually using the Recycle Bin 2. If so, the current time is inserted at the beginning of the Description property
UserUndeletePostTask.vbs This Pre-task trigger script performs the following tasks: (This trigger supports version DRA 7.0) 1. Binds to the object in the Recycle Bin, retrieving the ADSI path to the object that was saved at the end of the description property when the user object was put into the Recycle Bin. This path is saved in the VarSet key, ADSIPath for use by a Post Task Trigger on UserUnDelete, allowing it to restore the description property and msExchHideFromAddressLists.
UserUndeletePreTask.vbs This Post-task trigger script performs the following tasks: (This trigger supports version DRA 7.0) 1. Removes the timestamp at the beginning of the description property
Configuring DRA 7.0
Deletion 1. In DRA Delegation and Configuration\Policy and Automation Management\Automation Triggers Select "New Trigger".
2. Associate with operation: UserDelete Type of trigger: Pre-task (Run trigger before operation is executed) 3. Script File type: Script Do file path: \UserDeletePreTask.vbs Do arguments: BLANK UNDO file path: BLANK UNDO arguments: BLANK 4. Scope: Apply to actions on objects included in: Select AcitveViews Apply to actions performed by: Select Assistant Admin Group 5. Error messages
Undo Deletion PreTask 1. In DRA Delegation and Configuration\Policy and Automation Management\Automation Triggers Select "New Trigger".
2. Associate with operation: UserUnDelete Type of trigger: Pre-task (Run trigger before operation is executed) 3. Script File type: Script Do file path: \UserUnDeletePreTask.vbs Do arguments: BLANK UNDO file path: BLANK UNDO arguments: BLANK 4. Scope: Apply to actions on objects included in: Select AcitveViews Apply to actions performed by: Select Assistant Admin Group 5. Error messages
Undo Deletion PostTask 1. In DRA Delegation and Configuration\Policy and Automation Management\Automation Triggers Select "New Trigger".
2. Associate with operation: UserDelete Type of trigger: Post-task (Run trigger before operation is executed) 3. Script File type: Script Do file path: \UserUnDeletePostTask.vbs Do arguments: BLANK UNDO file path: BLANK UNDO arguments: BLANK 4. Scope: Apply to actions on objects included in: Select AcitveViews Apply to actions performed by: Select Assistant Admin Group 5. Error messages
NetIQ does not test or validate any software, code or other materials provided in, on or through NetIQ Cool Solutions (collectively, "Materials"), so please use caution when downloading or accessing any Materials from Cool Solutions and ensure that you have reasonable and current security, spyware and anti-virus measures in place on your computer and/or network prior to downloading. Additionally, do not use any Materials downloaded from Cool Solutions in any production environment without first testing the Materials to ensure they are compatible with your version of NetIQ software or any other hardware or software present in your network or environment. Cool Solutions is not a substitute for authorized NetIQ support and should not be used as such. NETIQ COOL SOLUTIONS AND ANY MATERIALS ARE PROVIDED ON AN AS-IS, AS-AVAILABLE BASIS WITHOUT ANY WARRANTY OF ANY KIND. By downloading this file, you are agreeing to these terms of use. To report a problem please contact: coolguys-netiq@netiq.com. Your use of Cool Solutions is governed by the Cool Solutions Terms and Conditions. https://www.netiq.com/communities/coolsolutions/terms-and-conditions/