TestimoX

API Reference

Command

Clear-ADXRecycleBin

Namespace ADPlayground.PowerShell

Removes deleted Active Directory objects older than a specified number of days.

Examples

Generated fallback example

Generated fallback example from command syntax.


Clear-ADXRecycleBin -Domain 'Value'
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Clear-ADXRecycleBin [-OlderThanDays <int>] [-Domain <string>] [<CommonParameters>]
#

Parameters

OlderThanDays int optionalposition: 0pipeline: false
Number of days to keep. Items older than this are removed.
Domain string optionalposition: namedpipeline: false
Optional domain name. Uses current domain if omitted.