API Reference
Class
PowerShellCommandQueryResult
Typed result for PowerShell command execution.
Inheritance
- Object
- PowerShellCommandQueryResult
Constructors
public PowerShellCommandQueryResult() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String RequestedHost { get; set; } #Requested host name.
public String Host { get; set; } #Resolved host name actually used.
public String ExecutablePath { get; set; } #Fully resolved shell executable path.
public String InputKind { get; set; } #Executed payload kind: command or script.
public Int32 ExitCode { get; set; } #Exit code returned by the shell process.
public Boolean TimedOut { get; set; } #Indicates process timeout.
public Int64 DurationMs { get; set; } #Elapsed execution time in milliseconds.
public String StdOut { get; set; } #Captured stdout text.
public String StdErr { get; set; } #Captured stderr text.
public String Output { get; set; } #Combined output used by callers for display/correlation.
public Boolean OutputTruncated { get; set; } #True when combined output was truncated to MaxOutputChars.
public Int32 OutputLength { get; set; } #Full (untruncated) combined output length.