StopComputerCommand.Authentication Property

Gets and sets the value of the Authentication parameter of the Stop-Computer cmdlet. This property is introduced in Windows PowerShell 2.0.

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)


Dim instance As StopComputerCommand
Dim value As AuthenticationLevel

value = instance.Authentication

instance.Authentication = value


<ParameterAttribute> _
Public Property Authentication As AuthenticationLevel
public AuthenticationLevel Authentication { get; set; }
property AuthenticationLevel Authentication {
    AuthenticationLevel get ();
    void set (AuthenticationLevel value);
/** @property */
public AuthenticationLevel get_Authentication ()

/** @property */
public void set_Authentication (AuthenticationLevel value)
public function get Authentication () : AuthenticationLevel

public function set Authentication (value : AuthenticationLevel)

Property Value

A AuthenticationLevel constant that specifies the authentication level that is used for the WMI connection. (Stop-Computer uses WMI.) The default value is Packet.


This topic is included in this SDK for completeness only. For more information about this cmdlet, see Stop-Computer in the Microsoft TechNet library.

For Help at the command line, type:

get-help stop-computer

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

See Also


StopComputerCommand Class
StopComputerCommand Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK