I have a list of many users to restore and would prefer not to have to go click happy to restore the users.
Ideally something simple like powershell and a foreach loop for the usernames.
The rest api would work to but I saw no reference in any of the tools to restore AD Objects?
Best answer by Graham SwiftView original
There is an option to save the restore from the GUI to a file using “Save as a script”. Once you have the xml file, it can be edited to add more objects.
Please refer to the BOL. - https://documentation.commvault.com/2022e/expert/14588_command_line_interface_restore_active_directory_idataagent.html
Hope this helps.
I have seen these instructions sent in a few cases.
Create restore scripts for each item:
Note: For the last option, a separate script would have to be created for each attribute to be restored for each user.
You could do something similar via a workflow and build out the sourceItem information based on a csv/text input.