Get-DfsReplicatedFolder

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 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
Position:100
Default value:[Current Domain]
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-FolderName

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 gets all replicated folders.

Type:String[]
Aliases:RF, RfName
Position:1
Default value:None
Required:False
Accept pipeline input:True
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[]
Aliases:RG, RgName
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

Microsoft.DistributedFileSystemReplication.DfsReplicationGroup

Outputs

Microsoft.DFSR.Management.ReplicatedFolder