Add AD Recycle Bin enablement (Active Directory) - #46
Merged
Conversation
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.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.