Export (0) Print
Expand All

Get-DfsReplicatedFolder

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-DfsReplicatedFolder

Gets a replicated folder from a replication group.

Syntax

Parameter Set: Default
Get-DfsReplicatedFolder [[-GroupName] <String[]> ] [[-FolderName] <String[]> ] [[-DomainName] <String> ] [ <CommonParameters>]




Detailed 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.

Parameters

-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.


Aliases

none

Required?

false

Position?

101

Default Value

[Current Domain]

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

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


Aliases

RF,RfName

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

true

-GroupName<String[]>

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


Aliases

RG,RgName

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

true

<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.

  • Microsoft.DistributedFileSystemReplication.DfsReplicationGroup

Outputs

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

  • Microsoft.DFSR.Management.ReplicatedFolder

Examples

Example 1: Get a replicated folder

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


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

Related topics

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