none
Restore-ADObject not working

    Question

  • Hi,

    I am using the following command in windows 2008r2 ad powershell to restore a Deleted AD account and it fails with the given Error. Please help.

    Restore-ADObject -identity e7cd01a2-c294-45cc-b99a-c45f43e88d2f

    Restore-ADObject : Illegal modify operation. Some aspect of the modification is

     not permitted

    At line:1 char:17

    + Restore-ADObject <<<<  -identity e7cd01a2-c294-45cc-b99a-c45f43e88d2f

        + CategoryInfo          : InvalidOperation: (CN=abc,DC

       =com:ADObject) [Restore-ADObject], ADIllegalModifyOperationException

        + FullyQualifiedErrorId : 0,Microsoft.ActiveDirectory.Management.Commands.

       RestoreADObject

    Thanks in advance.

    Friday, February 01, 2013 6:36 AM

Answers

All replies