I'm trying to use the Restore-VEADItem cmdlet to perform AD restore.
When I try to do a restore of a deleted object with the -RestoreDeletedObjects parameter, I get an error that says:
Restore-VEADItem: object reference not set to an instance of an object.
When I try to use it with the -RestoreChangedObjects parameter instead, the command "works", the output says it's restoring the items, but in reality, the job is stuck and not being completed.
When I try to perform the restore from the GUI Console it works. Any help?
-
- Lurker
- Posts: 2
- Liked: never
- Joined: May 05, 2021 8:45 am
- Full Name: user
- Contact:
-
- Product Manager
- Posts: 20400
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: How to restore AD objects in powershell?
Kindly, provide the whole script, so we can double check whether everything is written properly. Thanks!
-
- Lurker
- Posts: 2
- Liked: never
- Joined: May 05, 2021 8:45 am
- Full Name: user
- Contact:
-
- Veeam Software
- Posts: 2010
- Liked: 669 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: How to restore AD objects in powershell?
I have tested your script in both v10 and v11. It has worked just fine. I'd advise you to contact our support and share the case id here for further follow-up. Thanks!
Who is online
Users browsing this forum: No registered users and 14 guests