Test-MtAdSiteTotalCount
SYNOPSIS
Counts the total number of Active Directory sites.
SYNTAX
Test-MtAdSiteTotalCount [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
This test retrieves the total count of sites configured in Active Directory. Sites represent physical geographic locations in your network topology and are fundamental to Active Directory replication and authentication efficiency.
EXAMPLES
EXAMPLE 1
Test-MtAdSiteTotalCount
Returns $true if site data is accessible. The test result includes the total count of sites.
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.