Get-DfsrState
Get-DfsrState
Gets the DFS Replication state for a member.
構文
Parameter Set: Default
Get-DfsrState [[-ComputerName] <String> ] [ <CommonParameters>]
詳細説明
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.
パラメーター
-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 (*).
エイリアス |
Member,Mem |
必須? |
false |
位置は? |
1 |
既定値 |
[local computer] |
パイプライン入力を許可する |
True (ByValue, ByPropertyName) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
- string
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- microsoft.distributedfilesystemreplication.dfsrupdate
例
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