Freigeben über


Revoke-DfsrDelegation

Betrifft: Windows 10, Windows Server Technical Preview

Revoke-DfsrDelegation

Revokes permissions to security principals for a replication group.

Syntax

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

Detaillierte Beschreibung

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.

Parameter

-AccountName<String[]>

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

Aliase

none

Erforderlich?

true

Position?

2

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

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.

Aliase

none

Erforderlich?

false

Position?

101

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Force

Erzwingt die Ausführung des Befehls, ohne den Benutzer zur Bestätigung aufzufordern.

Aliase

none

Erforderlich?

false

Position?

100

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-GroupName<String[]>

Specifies an array of names of replication groups.

Aliase

RG,RgName

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

true (ByValue, ByPropertyName)

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer und -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die Sie per Piping an das Cmdlet übergeben können.

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

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • Microsoft.DistributedFileSystemReplication.DfsrDelegation

Beispiele

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

Verwandte Themen

Get-DfsrDelegation

Grant-DfsrDelegation