WSMAN_ENVIRONMENT_VARIABLE_SET structure (wsman.h)

Defines an array of environment variables.

Syntax

typedef struct _WSMAN_ENVIRONMENT_VARIABLE_SET {
  DWORD                      varsCount;
  WSMAN_ENVIRONMENT_VARIABLE *vars;
} WSMAN_ENVIRONMENT_VARIABLE_SET;

Members

varsCount

Specifies the number of environment variables contained within the vars array.

vars

Defines an array of environment variables. Each element of the array is of type WSMAN_ENVIRONMENT_VARIABLE.

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