API Reference
Command
Test-ADXSYSVOL
Tests SYSVOL consistency across domain controllers.
Examples
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 MaxGposParameters
- Domain string
- DNS domain name to operate on. Defaults to the current domain when omitted.
- MaxGpos int
- 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 + RelativePathParameters
- Domain string
- DNS domain name to operate on. Defaults to the current domain when omitted.
- Deep SwitchParameter
- Enables deep mode: compares file/directory presence across DCs under -RelativePath.
- RelativePath string
- 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