The Active Directory Recycle Bin is a feature of recent versions of Windows Server that allows you to restore deleted objects to full fidelity without having to reanimate a tombstone. The biggest problem with the recycle bin is that it’s disabled by default. To enable it you need to use the Enable-ADOptionalFeature cmdlet from the ActiveDirectory PowerShell module. Although this is easy enough, it requires that you have the PowerShell module installed. The module itself uses the Active Directory Web Services to issue requests. After digging through the webservice a bit, I found that commands need to manage the recycle bin without PowerShell.

Query the Status of the Recycle Bin

Enable the Recycle Bin

Restore Object From Recycle Bin