PSJob.Command Property
Gets the pipeline to be executed by the PSJob.
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in system.management.automation.dll)
Usage
Syntax
'Declaration
Public ReadOnly Property Command As String
public string Command { get; }
public:
property String^ Command {
String^ get ();
}
/** @property */
public String get_Command ()
public function get Command () : String
Property Value
The pipeline that is executed by the PSJob. The pipeline that the PSJob executes can contain cmdlets, functions, scripts, script cmdlets, or any other command-based tasks.
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.
Platforms
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP
Target Platforms
Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP
See Also
Reference
PSJob Class
PSJob Members
System.Management.Automation Namespace