TestimoX

API Reference

Class

PowerShellCommandQueryRequest

Namespace ComputerX.PowerShellRuntime
Assembly ComputerX
Modifiers sealed

Request parameters for PowerShell command execution.

Inheritance

  • Object
  • PowerShellCommandQueryRequest

Constructors

public PowerShellCommandQueryRequest() #

Properties

public PowerShellHostKind Host { get; set; } #

Preferred host.

public String Command { get; set; } #

Single PowerShell command to execute.

public String Script { get; set; } #

Multi-line script text to execute.

public String WorkingDirectory { get; set; } #

Optional working directory.

public Int32 TimeoutMs { get; set; } #

Timeout in milliseconds.

public Int32 MaxOutputChars { get; set; } #

Maximum combined output characters captured in Output.

public Boolean IncludeErrorStream { get; set; } #

When true, stderr is appended to Output.