Skip to main content

AD Domain Recycle Bin Feature

Summary

This document describes how to detect if the Recycle Bin feature is enabled on the target Domain Controller.

Settings

Detection StringComparatorResultApplicable OS
`%\{@powershell.exe "$enabledScopes = Get-ADOptionalFeature -Identity 'Recycle Bin Feature'select -exp enabledscopesformat-list;if ($enabledScopes)\{Write-Output -InputObject 'Enabled'}else\{Write-Output -InputObject 'Disabled'}"@%}`Equals