PowerShell Restore AD Object

Restore deleted Active Directory object

Tool
Restore-ADObject
Category
Post-Exploitation / AD Object Manipulation
Platform
windows
Requires
shell access

Open in Command Manager

Syntax

Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.

Restore-ADObject -Identity <uid>

Examples

Restore-ADObject -Identity 'CN=deleteduser\0ADEL:12345678-1234-1234-1234-123456789012,CN=Deleted Objects,DC=corp,DC=local'

Tags

powershell ad restore object