Skip to main content
Version: 2.1.0

Test-MtAdRidsRemaining

SYNOPSIS

Retrieves the number of remaining RIDs (Relative Identifiers) in the domain.

SYNTAX

Test-MtAdRidsRemaining [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

This test retrieves the count of available RIDs in the Active Directory domain. RIDs are used to generate unique SIDs for new security principals. Running out of RIDs would prevent the creation of new users, groups, or computers.

EXAMPLES

EXAMPLE 1

Test-MtAdRidsRemaining

Returns $true if RID data is accessible. The test result includes the number of remaining RIDs.

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.

INPUTS

OUTPUTS

System.Boolean

NOTES

https://maester.dev/docs/commands/Test-MtAdRidsRemaining