WSMAN_RECEIVE_SHELL_DATA Structure

[This documentation is preliminary and is subject to change.]

The WSMAN_RECEIVE_SHELL_DATA structure stores the output data from a remote shell. It is populated by using the WSManReceiveShellOutput function.

typedef struct _WSMAN_RECEIVE_SHELL_DATA {
  WSMAN_STREAM_ELEMENT stream;
  DWORD commandState;
  DWORD exitCode;
} WSMAN_RECEIVE_SHELL_DATA;

Members

  • stream
    The stream element received from the shell.

  • commandState
    Reserved for system use. Do not use.

  • exitCode
    Reserved for system use. Do not use.

Requirements

Client

Requires Windows XP SP2 + WinRM v1.1.

Server

Requires Windows Server 2003 SP1 + WinRM v1.1, Windows Server 2003 SP2 + WinRM v1.1 or Windows Server 2003 R2 + WinRM v1.1.

Header

Declared in Wsman.h.

Send comments about this topic to Microsoft

Build date: 10/1/2007