Disable-SmbDelegation

Disable-SmbDelegation

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

構文

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

詳細説明

The Disable-SmbDelegation cmdlet disables 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.

パラメーター

-Force

ユーザーの確認を求めずにコマンドを強制的に実行します。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-SmbClient<String>

Specifies the name of the SMB client. The cmdlet disables constrained delegation authorization for the SMB client that you specify.

エイリアス

なし

必須?

false

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-SmbServer<String>

Specifies the name of the SMB server. The cmdlet disables constrained delegation authorization for the SMB server you specify. If you do not specify the SmbClient parameter, the cmdlet disables constrained delegation authorization for all clients on the server.

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

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

Example 1: Disable constrained delegation

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

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

関連トピック

Enable-SmbDelegation

Get-ADForest

Get-SmbDelegation

Install-WindowsFeature