TestimoX

API Reference

Command

Clear-ADXSYSVOLDFSR

Namespace ADPlayground.PowerShell

Clears DFSR staging for SYSVOL on a domain controller. TODO: Wire to ADPlayground.Gpo.SysvolDfsrMaintenance.

Examples

Authored help example

Example 1: Preview clearing SYSVOL DFSR staging on a specific domain controller


Clear-ADXSYSVOLDFSR -ComputerName 'dc-01.contoso.com' -WhatIf
        

Example 2: Clear SYSVOL DFSR staging on the local server during maintenance


Clear-ADXSYSVOLDFSR -ComputerName '.'
        

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

Clear-ADXSYSVOLDFSR -ComputerName <string> [<CommonParameters>]
#

Parameters

ComputerName string requiredposition: namedpipeline: false
Target computer(s). Use '.' for local computer or provide DNS names.