Revoke-DfsrDelegation

適用対象: Windows 10, Windows Server Technical Preview

Revoke-DfsrDelegation

Revokes permissions to security principals for a replication group.

構文

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

詳細説明

The Revoke-DfsrDelegation cmdlet revokes delegated permissions for users or groups for a replication group. For more information about delegation in the Distributed File System (DFS) Replication service, see the documentation for the Grant-DfsrDelegation cmdlet.

パラメーター

-AccountName<String[]>

Specifies an array of names of security principals. This cmdlet revokes permissions to the users and groups that this parameter specifies.

Aliases

none

必須/オプション

true

位置

2

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-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

必須/オプション

false

位置

101

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-Force

ユーザーの確認を求めることなく、コマンドを強制的に実行します。

Aliases

none

必須/オプション

false

位置

100

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-GroupName<String[]>

Specifies an array of names of replication groups.

Aliases

RG,RgName

必須/オプション

true

位置

1

既定値

none

パイプライン入力の受け入れ

true (ByValue, ByPropertyName)

ワイルドカード文字の受け入れ

false

<CommonParameters>

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

入力

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

  • Microsoft.DistributedFileSystemReplication.DfsReplicationGroup, String[], String

出力

出力型は、コマンドレットが出力するオブジェクトの型です。

  • Microsoft.DistributedFileSystemReplication.DfsrDelegation

使用例

Example 1: Revoke delegated permissions

This command revokes delegated permissions for the security group named DFSR Admins for a replication group named RG01.

PS C:\> Revoke-DfsrDelegation -GroupName "RG01" -AccountName "DFSR Admins"

Example 2: Revoke delegated permissions without confirmation

This command revokes delegated permissions for the security group named DFSR Admins for a replication group named RG02. This command specifies the Force parameter, and, therefore, it does not prompt you to confirm the removal. The command specifies the Verbose common parameter, so it prints details of the operation.

PS C:\> Revoke-DfsrDelegation -GroupName "RG02 -AccountName "DFSR Admins" -Verbose -Force

関連項目

Get-DfsrDelegation

Grant-DfsrDelegation