Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RegisterPSSessionConfiguration.RunAsCredential Property

Provides access to the RunAsCredential parameter. Introduced in Windows PowerShell 3.0.

Namespace: Microsoft.PowerShell.Core.Activities
Assembly: Microsoft.PowerShell.Core.Activities (in Microsoft.PowerShell.Core.Activities.dll)

Dim instance As RegisterPSSessionConfiguration
Dim value As InArgument(Of PSCredential)

value = instance.RunAsCredential

instance.RunAsCredential = value

public InArgument<PSCredential> RunAsCredential { get; set; }
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public InArgument<PSCredential> get_RunAsCredential ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_RunAsCredential (InArgument<PSCredential> value)

public function get RunAsCredential () : InArgument<PSCredential>

public function set RunAsCredential (value : InArgument<PSCredential>)

Property Value

Returns InArgument.

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

© 2015 Microsoft