Get-DfsrState
Gets the DFS Replication state for a member.
Syntax
Get-DfsrState
[[-ComputerName] <String>]
[<CommonParameters>]
Description
The Get-DfsrState cmdlet gets the overall Distributed File System (DFS) Replication state for a computer in regard to its replication group partners. The cmdlet returns both inbound and outbound file replication information, such as files currently replicating and files immediately queued to replicate next.
Examples
Example 1: Get the DFS Replication state for a member
PS C:\> Get-DfsrState -ComputerName "SRV02" | Format-Table FileName,UpdateState,Inbound,Source* -Auto -Wrap
FileName UpdateState Inbound SourceComputerName
-------- ----------- ------- ------------------
ntfrs - Copy.exe Scheduled True SRV02
ntdsai - Copy.dll Scheduled True SRV02
NlsLexicons0046 - Copy.dll Scheduled True SRV02
NlsLexicons000a - Copy.dll Downloading True SRV02
occache - Copy.dll Scheduled True SRV02
NlsModels0011 - Copy.dll Scheduled True SRV02
NlsLexicons0007 - Copy.dll Scheduled True SRV02
NlsLexicons000f - Copy.dll Downloading True SRV02
NlsLexicons003e - Copy.dll Scheduled True SRV02
NlsLexicons0045 - Copy.dll Scheduled True SRV02
NlsData001a - Copy.dll Downloading True SRV02
ntlanui2 - Copy.dll Scheduled True SRV02
This command gets the list of files currently replicating or queued inbound and outbound from the computer named SRV02.
Parameters
-ComputerName
Specifies the name of a replication member computer. If you do not specify this parameter, the cmdlet uses the current computer.
Type: | String |
Aliases: | Member, Mem |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
String
Outputs
Microsoft.DistributedFileSystemReplication.DfsrUpdate