Skip to content

Add AD Recycle Bin enablement (Active Directory) - #46

Merged
TheAbider merged 1 commit into
masterfrom
feature/v1.110.0-ad-recycle-bin
May 29, 2026
Merged

Add AD Recycle Bin enablement (Active Directory)#46
TheAbider merged 1 commit into
masterfrom
feature/v1.110.0-ad-recycle-bin

Conversation

@TheAbider

Copy link
Copy Markdown
Owner

New entry in AD DS Domain Controller Promotion ([6] Enable AD Recycle Bin) and the ADRecycleBin CLI action: turn on AD object recovery. Warns it is PERMANENT (cannot be disabled), needs forest functional level 2008 R2+, confirms, then Enable-ADOptionalFeature. Dry-Run one-way (no undo). JSON mode reports current state without changing anything. Addition to 61-ActiveDirectory. CLI actions 192->193; docs in lockstep. 5040 tests pass, PSSA clean. Release 2 of the v1.109-v1.119 train.

New entry in AD DS Domain Controller Promotion ([6] Enable AD Recycle Bin)
and via the ADRecycleBin CLI action: turn on Active Directory object
recovery so deleted users/groups/OUs can be restored with attributes intact.

Checks the forest, warns that enabling is PERMANENT (cannot be disabled) and
needs forest functional level 2008 R2+, confirms, then runs
Enable-ADOptionalFeature. Dry-Run-aware and queued ONE-WAY (no undo, matching
the irreversibility). -Action ADRecycleBin -OutputFormat JSON reports the
current enabled state without changing anything.

Addition to 61-ActiveDirectory (no new module). CLI actions 192 -> 193;
README / Help / dist counts updated in lockstep. 5040 tests, 0 failures;
PSScriptAnalyzer clean.
@TheAbider
TheAbider merged commit 52685a5 into master May 29, 2026
6 checks passed
@TheAbider
TheAbider deleted the feature/v1.110.0-ad-recycle-bin branch May 29, 2026 22:44
@codecov

codecov Bot commented May 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant