Export (0) Print
Expand All

Get-DfsrState

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Get-DfsrState

Gets the DFS Replication state for a member.

Syntax

Parameter Set: Default
Get-DfsrState [[-ComputerName] <String> ] [ <CommonParameters>]




Detailed Description

The Get-DfsrState cmdlet gets the overall 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.

Parameters

-ComputerName<String>

Specifies an array of names of computers. The cmdlet adds these computers to the replication group specified by the GroupName parameter. You can use a comma separated list and the wildcard character (*).


Aliases

Member,Mem

Required?

false

Position?

1

Default Value

[local computer]

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • string

Outputs

The output type is the type of the objects that the cmdlet emits.

  • microsoft.distributedfilesystemreplication.dfsrupdate

Examples

Example 1: Get the DFS Replication state for a member

This command gets the list of files currently replicating or queued inbound and outbound from the computer named SRV01.


PS C:\> Get-DfsrState -ComputerName "SRV01" | 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

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft