This topic has not yet been rated - Rate this topic

AuthenticationMechanism Enumeration

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Defines the types of authentication used to create a PSSession on a computer. This class is introduced in Windows PowerShell 2.0.


Namespace: System.Management.Automation.Runspaces
Assembly: System.Management.Automation (in System.Management.Automation)
'Usage
Dim instance As AuthenticationMechanism

public enum AuthenticationMechanism
public enum AuthenticationMechanism
public enum AuthenticationMechanism
Member name Description
Basic The connection is made using basic authentication. This field is introduced in Windows PowerShell 2.0.
Credssp The connection is made using CredSSP authentication, which allows the user to delegate credentials. This type of authentication is designed for commands that require a second hop, that is, they run on one computer, but then they connect to other computers to collect data or run additional commands. This field is introduced in Windows PowerShell 2.0.
Default The connection is made using the authentication mechanism specified by the transport being used. In the case of WSMan, either Negotiate or Kerberos is used. This field is introduced in Windows PowerShell 2.0.
Digest The connection is made using Digest authentication. Digest authentication operates much like Basic authentication. However, unlike Basic authentication, Digest authentication transmits credentials across the network as a hash value, also known as a message digest. The user name and password cannot be deciphered from the hash value. In comparison, Basic authentication sends a Base 64 encoded password, essentially in clear text, across the network. This field is introduced in Windows PowerShell 2.0.
Kerberos  
Negotiate The connection is made using Kerberos or NTLM. The server uses Kerberos to authenticate a domain account and NTLM for local computer accounts. The user name should be specified in the form domain\username for domain users or servername\username for a local users on a server computer. This field is introduced in Windows PowerShell 2.0.
NegotiateWithImplicitCredential The connection is made using the credentials cached on the PSSession computer. This field is introduced in Windows PowerShell 2.0.

 

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP, Windows 7, Windows 2008 R2, Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)