This task executes the DFS Replication service's administration tool dfsradmin.exe with a customizable set of command-line parameters.
DfsrAdmin.exe is a command line tool used for configuring and administering DFS Replication on Windows servers. This administrative tool can be used to script configuration and management tasks for large deployments. All tasks that can be performed using the DFS Management MMC snap-in can also be accomplished using the DfsrAdmin.exe command line administrative tool.
For instance, this tool can be used to accomplish the following tasks:
To create and delete replication groups.
To configure folders for replication and add member servers to replication groups.
To create memberships for servers participating in replication groups and set properties for memberships.
To generate health reports for one or more members in a replication group.
To generate and drop propagation test files that can be used to test replication and generate propagation reports based on the output of these tests.
To configure settings of replicated folders on servers participating in replication.
The tool also provides scripting support for executing bulk actions from a single input file.
Key scenarios for using the DfsrAdmin.exe command line tool are documented in the “ DFS Operations Guide: Using the DFSRAdmin Command-line Tool”
Target | Microsoft.Windows.DfsReplication.Service |
Accessibility | Public |
Category | Maintenance |
Enabled | True |
Remotable | False |
Timeout | 300 |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
Microsoft.Windows.DfsReplication.Module | ProbeAction | Microsoft.Windows.DfsReplication.TaskProbeActionModuleType | System.PrivilegedMonitoringAccount |
<Task ID="Microsoft.Windows.DfsReplication.DfsrAdminAgentTask" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DfsReplication.Service" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<ProbeAction ID="Microsoft.Windows.DfsReplication.Module" RunAs="System!System.PrivilegedMonitoringAccount" TypeID="Microsoft.Windows.DfsReplication.TaskProbeActionModuleType">
<ApplicationName>dfsradmin.exe</ApplicationName>
<CommandLine/>
<TimeoutSeconds>1200</TimeoutSeconds>
</ProbeAction>
</Task>