TestimoX

API Reference

Command

Test-ADXSYSVOL

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.Sysvol.SysvolGpoConsistencyService+GpoGptProbe ADPlayground.Sysvol.SysvolPathPresence

Tests SYSVOL consistency across domain controllers.

Examples

Authored help example

Example 1


Test-ADXSYSVOL
        

Example 2


Test-ADXSYSVOL -Domain contoso.com -MaxGpos 250
        

Example 3


Test-ADXSYSVOL -Deep -RelativePath Policies
        

Example 4


Test-ADXSYSVOL -Deep -Domain contoso.com -RelativePath Scripts
        

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

Test-ADXSYSVOL [-Domain <string>] [-MaxGpos <int>] [<CommonParameters>]
#
Parameter set: By MaxGpos

Parameters

Domain string optionalposition: 0pipeline: false
DNS domain name to operate on. Defaults to the current domain when omitted.
MaxGpos int optionalposition: namedpipeline: false
Maximum number of GPOs to evaluate in GPO mode.

Outputs

ADPlayground.Sysvol.SysvolGpoConsistencyService+GpoGptProbe, ADPlayground.Sysvol.SysvolPathPresence

Test-ADXSYSVOL [-Domain <string>] [-Deep] [-RelativePath <string>] [<CommonParameters>]
#
Parameter set: By Deep + RelativePath

Parameters

Domain string optionalposition: 0pipeline: false
DNS domain name to operate on. Defaults to the current domain when omitted.
Deep SwitchParameter optionalposition: namedpipeline: false
Enables deep mode: compares file/directory presence across DCs under -RelativePath.
RelativePath string optionalposition: namedpipeline: false
Relative path under SYSVOL to scan in deep mode (e.g., 'Policies', 'Scripts'). Use simple folder names; do not include the domain or \\SYSVOL prefix.

Outputs

ADPlayground.Sysvol.SysvolGpoConsistencyService+GpoGptProbe, ADPlayground.Sysvol.SysvolPathPresence