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.
별칭 |
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.
별칭 |
none |
필수 여부 |
false |
위치 |
101 |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Force
사용자에게 확인 메시지를 표시하지 않고 명령을 강제 실행합니다.
별칭 |
none |
필수 여부 |
false |
위치 |
100 |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-GroupName<String[]>
Specifies an array of names of replication groups.
별칭 |
RG,RgName |
필수 여부 |
true |
위치 |
1 |
기본값 |
none |
파이프라인 입력 허용 여부 |
true (ByValue, ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)
입력
입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.
- Microsoft.DistributedFileSystemReplication.DfsReplicationGroup, String[], String
출력
출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.
- 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