Setspn Syntax

Setspn Syntax

Setspn uses the following syntax:

Setspn Computer [-l] [-r] [-a SPN] [-d SPN] [-?]


Specifies the desired Active Directory account object for which to configure the Service Principal Names (SPN). Normally, this is the NetBIOS name of the computer and optionally the domain that contains the computer account. However, any desired Active Directory object name can be used.
Lists the currently registered SPN for computer.
Resets the default SPN registrations for the host names for Computer.
-a SPN
Adds the specified SPN for the Computer.
-d SPN
Deletes the specified SPN for the Computer.
Displays command-line usage. This parameter is the default: setspn run without this parameter displays the SPN command-line usage.

Consulte também

Contribuições da comunidade