Enable-SmbDelegation

Enable-SmbDelegation

Enables a constrained delegation authorization for an SMB client and server.

Syntax

Parameter Set: Default
Enable-SmbDelegation [-SmbClient] <String> [-SmbServer] <String> [ <CommonParameters>]

Detaillierte Beschreibung

The Enable-SmbDelegation cmdlet enables a constrained delegation authorization for a server message block (SMB) client and server. Delegation allows a user who remotes into an SMB client to perform operations on a remote SMB server.

Parameter

-SmbClient<String>

Specifies the name of the SMB client. The cmdlet enables constrained delegation authorizations for the SMB client that you specify.

Aliasse

Keiner

Erforderlich?

true

Position?

1

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-SmbServer<String>

Specifies the name of the SMB server. The cmdlet enables constrained delegation authorizations for the SMB server that you specify.

Aliasse

Keiner

Erforderlich?

true

Position?

2

Standardwert

Keiner

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.

Hinweise

  • This cmdlet relies on Active Directory Windows PowerShell cmdlets to perform its actions. Before you use this cmdlet, you must install the Active Directory cmdlets. To install the Active Directory cmdlets, run the following command:
    Install-WindowsFeature RSAT-AD-PowerShell
    For more information, type Get-Help Install-WindowsFeature.

    This cmdlet works only with resource-based delegation, and the Active Directory forest must be at the Windows Server 2012 functional level. To check the functional level of the Active Directory forest, use the Get-ADForest cmdlet.

Beispiele

Example 1: Enable a constrained delegation authorization for SMB clients and servers

This command adds a new constrained delegation authorization so that a user remotely connected to the SMB client named HVSVR01 can configure resources on the SMB server named FileServer01.

PS C:\> Enable-SmbDelegation –SmbServer "FileServer01" –SmbClient "HVSVR01"

Verwandte Themen

Disable-SmbDelegation

Get-ADForest

Get-SmbDelegation

Install-WindowsFeature