Export (0) Print
Expand All

WSMAN_ENVIRONMENT_VARIABLE structure

Defines an individual environment variable by using a name and value pair. This structure is used by the WSManCreateShell method. The representation of the value variable is shell specific. The client and server must agree on the format of the value variable.

Syntax


typedef struct _WSMAN_ENVIRONMENT_VARIABLE {
  PCWSTR name;
  PCWSTR value;
} WSMAN_ENVIRONMENT_VARIABLE;

Members

name

Defines the environment variable name. This parameter cannot be NULL.

value

Defines the environment variable value. NULL or empty string values are permitted.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Redistributable

Windows Management Framework on Windows Server 2008 with SP2, Windows Server 2003 with SP2, Windows Vista with SP1, and Windows Vista with SP2

Header

Wsman.h

 

 

Show:
© 2014 Microsoft