Get-SmbDelegation

Get-SmbDelegation

Gets the constrained delegation authorizations for an SMB client.

Syntaxe

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

Description détaillée

The Get-SmbDelegation cmdlet gets the constrained delegation authorizations that are currently defined for a server message block (SMB) client that you specify. Delegation allows a user who remotes into an SMB client to perform operations on a remote SMB server.

Paramètres

-SmbServer<String>

Specifies the name of an SMB server. The cmdlet gets the constrained delegation authorizations for the SMB server you specify.

Alias

none

Obligatoire ?

true

Position ?

1

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

Remarques

  • 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.

Exemples

Example 1: Get the constrained delegation authorizations for an SMB client

This command gets the currently defined constrained delegation authorizations for the HVSRV01 server.

PS C:\> Get-SmbDelegation -SmbServer "HVSVR01"

Rubriques connexes

Disable-SmbDelegation

Enable-SmbDelegation

Get-ADForest

Install-WindowsFeature