Revoke-DfsrDelegation

Revoke-DfsrDelegation

Revokes delegation of permissions in a replication group.

Syntax

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

Detaillierte Beschreibung

The Revoke-DfsrDelegation cmdlet revokes delegation of permissions for users or groups to create replicated folders, connections, members, and memberships inside a replication group. For information about delegation, see the Grant-DfsrDelegation cmdlet.

Parameter

-AccountName<String[]>

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

Aliasse

Keiner

Erforderlich?

true

Position?

2

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-DomainName<String>

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

Aliasse

Keiner

Erforderlich?

false

Position?

101

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-Force

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

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-GroupName<String[]>

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

Aliasse

RG,RgName

Erforderlich?

true

Position?

1

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByValue, ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-Confirm

Sie werden vor dem Ausführen des Cmdlets zur Bestätigung aufgefordert.

Erforderlich?

false

Position?

named

Standardwert

falsch

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-WhatIf

Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.

Erforderlich?

false

Position?

named

Standardwert

falsch

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -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 über die Pipeline an das Cmdlet übergeben werden können.

Ausgaben

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

Beispiele

Example 1: Revoke delegation for a group

This command revokes delegation of permissions from the group named DFSR Admins for the replication group named RG06.

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

Example 2: Revoke delegtion for a group without confirmation

This command revokes delegation of permissions from the group named DFSR Admins for the replication group named RG06. The command specifies the Verbose parameter. This Windows PowerShell® common parameter causes the command to display details about the operation. For more information, type Get-Help about_CommonParameters. The command specifies the Force parameter, and, therefore, the cmdlet does not prompt you for confirmation.

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

Verwandte Themen

Get-DfsrDelegation

Grant-DfsrDelegation