WSMAN_SHELL_STARTUP_INFO_V11 structure (wsman.h)
Defines the shell startup parameters to be used with the WSManCreateShell function. The structure must be allocated by the client and passed to the WSManCreateShell function.
The configuration passed to the WSManCreateShell function can directly affect the behavior of a command executed within the shell. A typical example is the workingDirectory argument that describes the working directory associated with each process, which the operating system uses when attempting to locate files specified by using a relative path.
In the absence of specific requirements for stream naming, clients and services should attempt to use STDIN for input streams, STDOUT for the default output stream, and STDERR for the error or status output stream.
Syntax
typedef struct _WSMAN_SHELL_STARTUP_INFO_V11 : _WSMAN_SHELL_STARTUP_INFO_V10 {
PCWSTR name;
} WSMAN_SHELL_STARTUP_INFO_V11;
Inheritance
The WSMAN_SHELL_STARTUP_INFO_V11 structure implements _WSMAN_SHELL_STARTUP_INFO_V10.
Members
name
Specifies an optional friendly name to be associated with the shell. This parameter is only functional when the client passes the flag WSMAN_FLAG_REQUESTED_API_VERSION_1_1 to WSManInitialize.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 |
Minimum supported server | Windows Server 2008 R2 |
Header | wsman.h |
Redistributable | Windows Management Framework on Windows Server 2008 with SP2, Windows Vista with SP1, and Windows Vista with SP2 |