Grant-DfsrDelegation

Grant-DfsrDelegation

Grants users and groups permissions in a replication group.

構文

Parameter Set: Default
Grant-DfsrDelegation [-GroupName] <String[]> [-AccountName] <String[]> [[-DomainName] <String> ] [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Grant-DfsrDelegation cmdlet grants users and groups permissions to create replicated folders, connections, members, and memberships inside a replication group. This delegation allows users who are local administrators on servers that run the Distributed File System (DFS) Replication service to administer the Active Directory® ドメイン サービス () portions of the replication topology, without being domain administrators.

パラメーター

-AccountName<String[]>

Specifies an array of security principals to delegate. The security principals include users and groups.

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-DomainName<String>

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

エイリアス

なし

必須?

false

位置は?

101

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Force

Forces the command to run without asking for user confirmation. Use this parameter for scripted delegation of permissions.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-GroupName<String[]>

Specifies an array of names of replication groups. You can specify multiple groups, separated by commas, as well as wildcard characters (*).

エイリアス

RG,RgName

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByValue, ByPropertyName)

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Grant permissions to a group

This command grants permissions to the DFSR Admins security group for the replication group named RG06.

PS C:\> Grant-DfsrDelegation -GroupName "RG06" -AccountName "DFSR Admins"

関連トピック

Get-DfsrDelegation

Revoke-DfsrDelegation