Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-DfsReplicatedFolder

Brian Lich|Last Updated: 3/26/2017

SYNOPSIS

Gets a replicated folder from a replication group.

SYNTAX

Get-DfsReplicatedFolder [[-GroupName] <String[]>] [[-FolderName] <String[]>] [[-DomainName] <String>]
 [<CommonParameters>]

DESCRIPTION

The Get-DfsReplicatedFolder cmdlet gets existing replicated folders. The cmdlet returns global settings of replicated folders such as filters and Distributed File System (DFS) Namespace associations. Replicated folders are logical arrangements of replication that do not contain computer-specific settings.

EXAMPLES

Example 1: Get a replicated folder

PS C:\> Get-DfsReplicatedFolder -GroupName "RG24" -FolderName "RF01"


GroupName              : RG24
DomainName             : corp.contoso.com
FolderName             : RF01
Identifier             : c335e8f6-bc3e-4671-8f7b-9cdc51a6b222
Description            :
FileNameToExclude      : {~*, *.bak, *.tmp}
DirectoryNameToExclude : {}
DfsnPath               :
IsDfsnPathPublished    : False
State                  : Normal

This command gets the replicated folder named RF01 from replication group named RG24.

PARAMETERS

-DomainName

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.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 100
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-FolderName

Specifies an array of names of replicated folders. You can use a comma separated list and the wildcard character (*).

Type: String[]
Parameter Sets: (All)
Aliases: RF, RfName

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-GroupName

Specifies an array of names of replication groups. You can use a comma separated list and the wildcard character (*).

Type: String[]
Parameter Sets: (All)
Aliases: RG, RgName

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

CommonParameters

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

INPUTS

Microsoft.DistributedFileSystemReplication.DfsReplicationGroup

OUTPUTS

Microsoft.DFSR.Management.ReplicatedFolder

NOTES

Set-DfsReplicatedFolder

Set-DfsReplicatedFolder

Remove-DfsReplicatedFolder

© 2017 Microsoft