Test-MtAdRecycleBinStatus
SYNOPSIS
Retrieves the Active Directory Recycle Bin status.
SYNTAX
Test-MtAdRecycleBinStatus [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
This test checks whether the Active Directory Recycle Bin is enabled in the forest. The Recycle Bin provides enhanced protection against accidental deletion by allowing recovery of deleted objects without restoring from backup.
EXAMPLES
EXAMPLE 1
Test-MtAdRecycleBinStatus
Returns $true if Recycle Bin data is accessible. The test result includes whether the Recycle Bin is enabled.
PARAMETERS
-ProgressAction
Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress.
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.