Today’s blog entry is short and sweet. You want to quickly find out whether the AD Recycle Bin feature is enabled or not. There are a few ways to do this, but this is a quick Powershell method.
# Is the AD Recycle Bin enabled in my forest? Import-Module ActiveDirectory If ((Get-ADOptionalFeature -Identity "Recycle Bin Feature").EnabledScopes) { write-host "AD Recycle Bin is enabled" } # end if Else { write-host "AD Recyle Bin is not yet enabled" } # end else