PSCommandName Property

PSActivity.PSCommandName Property

Gets the fully qualified name of the command invoked by this activity. Introduced in Windows PowerShell 3.0.

Namespace: Microsoft.PowerShell.Activities
Assembly: Microsoft.PowerShell.Workflow.ServiceCore (in Microsoft.PowerShell.Workflow.ServiceCore.dll)

Dim instance As PSActivity
Dim value As String

value = instance.PSCommandName

public virtual string PSCommandName { get; }
/** @property */
public String get_PSCommandName ()

public function get PSCommandName () : String

Property Value

Returns String.

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

© 2016 Microsoft