How To Enable The Active Directory Recycle Bin Feature With PowerShell

Sometimes mistakes happen. An accidental miss-click may result in deleting a number of users, or an entire Organizational Unit, when you only intended to delete one. Ideally it’s not a situation you want to be in, but it is a situation you can prepare for.Active Directory includes a recycle bin but it is not enabled by default and it needs to be enabled proactively. You won’t be able to restore objects that were deleted prior to the recycle bin being enabled.In this video, Josh will walk you through checking the status of the Active Directory Recycle Bin using the Get-ADOptionalFeature cmdlet and also enabling it using Set-ADOptionalFeature. Prerequisites include: The Active Directory PowerShell Module, from the Remote Server Administration Tools (RSAT)