Start-DfsrPropagationTest

적용 대상: Windows 10, Windows Server Technical Preview

Start-DfsrPropagationTest

Creates a propagation test file in a replicated folder.

구문

Parameter Set: Default
Start-DfsrPropagationTest [[-GroupName] <String[]> ] [-FolderName] <String[]> [-ReferenceComputerName] <String> [[-DomainName] <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]




자세한 설명

The Start-DfsrPropagationTest cmdlet creates a propagation test file in a Distributed File System (DFS) replicated folder. The test file contains metadata, such as time and date stamps. The DFS Replication service propagates the file to other computers in the replication group. You can create propagation reports by using the Write-DfsrPropagationReport cmdlet.

This cmdlet creates test files in replicated folders in a hidden, read-only system folder named __DFSR_DIAGNOSTICS_TEST_FOLDER__. The cmdlet names the test files <Reference Computer Name>@<GUID>@<RG Name>-<RF Name>.xml. Use the Remove-DfsrPropagationTestFile cmdlet to delete old test files.

매개 변수

-DomainName<String>

Specifies the NetBIOS name or fully qualified domain name (FQDN) for the Active Directory Domain Service (AD DS) domain that contains the replication group. If you do not specify this parameter, the cmdlet uses the domain of the current user.


별칭

none

필수 여부

false

위치

101

기본값

none

파이프라인 입력 허용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-FolderName<String[]>

Specifies an array of names of replicated folders. You can use a comma separated list and the wildcard character (*). If you do not specify this parameter, the cmdlet creates test files for all replicated folders within the specified group and domain.


별칭

RF,RfName

필수 여부

true

위치

2

기본값

none

파이프라인 입력 허용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-GroupName<String[]>

Specifies an array of names of replication groups. You can use a comma separated list and the wildcard character (*). If you do not specify this parameter, the cmdlet creates test files for all replicated folders that have name that matches the value of the FolderName parameter within the specified domain.


별칭

RG,RgName

필수 여부

false

위치

1

기본값

none

파이프라인 입력 허용 여부

True (ByValue, ByPropertyName)

와일드카드 문자 허용 여부

false

-ReferenceComputerName<String>

Specifies the name of a reference computer in the replication group. The cmdlet creates the propagation test file on the reference computer. If you do not specify this parameter, the cmdlet uses the local computer as the reference computer.


별칭

ReferenceMember,RefMem

필수 여부

true

위치

3

기본값

none

파이프라인 입력 허용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-Confirm

cmdlet을 실행하기 전에 확인 메시지를 표시합니다.


필수 여부

false

위치

named

기본값

false

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-WhatIf

cmdlet이 실행되는 경우 발생할 결과를 보여 줍니다. cmdlet은 실행되지 않습니다.


필수 여부

false

위치

named

기본값

false

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(http://go.microsoft.com/fwlink/p/?LinkID=113216)

입력

입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.

  • Microsoft.DistributedFileSystemReplication.DfsReplicationGroup, Microsoft.DistributedFileSystemReplication.DfsReplicatedFolder, String

출력

출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.

  • [none]

Example 1: Create a test file on a specified reference computer

This command creates a propagation test file for the replicated folder named ReplicatedFolder19 in the group named ReplicationGroup07. The command specifies a reference computer name.


PS C:\> Start-DfsrPropagationTest -GroupName "ReplicationGroup07" -FolderName "ReplicatedFolder19" -ReferenceComputerName "SRV01.Contoso.com"

Example 2: Create test files for all replicated folders

This command creates test files in all replicated folders on the reference computer named SRV01.corp.Contoso.com. The command uses the wildcard character (*) for the GroupName and FolderName parameter values, and, therefore, it creates a test file in any replicated folder on the computer, regardless of what replication group or groups the computer might be a member of.


PS C:\> Start-DfsrPropagationTest -GroupName * -FolderName * -ReferenceComputerName "SRV01.corp.Contoso.com" -Verbose

관련 항목

커뮤니티 추가 항목

추가
표시: