Win32_Environment, ROOT\CIMV2

Class | Methods | Properties (8) | Qualifiers (11) | Instances (40) | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

The Win32_Environment class represents an environment or system environment setting on a Win32 computer system.

Win32_Environment properties

Win32_Environment has 8 properties (3 Local, 5 Derived)

NameOriginCIMType
CaptionCIM_ManagedSystemElement8 [string]
DescriptionCIM_ManagedSystemElement8 [string]
InstallDateCIM_ManagedSystemElement101 [datetime]
key
Name
CIM_ManagedSystemElement8 [string]
StatusCIM_ManagedSystemElement8 [string]
SystemVariableWin32_Environment11 [boolean]
key
UserName
Win32_Environment8 [string]
VariableValueWin32_Environment8 [string]

Detailed description of Win32_Environment properties

Local properties (3) of Win32_Environment class

SystemVariable property
CIMTYPE'boolean'
Description'The SystemVariable property indicates whether the variable is a system variable. A system variable is set by the operating system, and is independent from user environment settings.
Values: TRUE or FALSE. A value of TRUE indicates the variable is a system variable.'
MappingStrings['Win32Registry|System\CurrentControlSet\Control\Session Manager\Environment']
readTrue
SystemVariable property is in 1 class (Win32_Environment) of ROOT\cimv2 and in 2 namespaces
UserName property
CIMTYPE'string'
Description'The UserName property indicates the owner of the environment setting. It is set to "" for settings that are specific to the Win32 system (as opposed to a specific user) and "" for default user settings.
Example: Jsmith.'
keyTrue
MappingStrings['Win32Registry|System\CurrentControlSet\Control\Session Manager\Environment']
MaxLen260
readTrue
UserName property is in 8 classes of ROOT\cimv2 and in 33 namespaces
VariableValue property
CIMTYPE'string'
Description'The VariableValue property contains the placeholder variable of a Win32 environment variable. Information like the file system directory can change from machine to machine. The operating system substitutes placeholders for these.
Example: %SystemRoot%.'
MappingStrings['Win32Registry|System\CurrentControlSet\Control\Session Manager\Environment']
readTrue
writeTrue
VariableValue property is in 1 class (Win32_Environment) of ROOT\cimv2 and in 2 namespaces

Derived properties (5) of Win32_Environment class

Caption property
CIMTYPE'string'
Description'The Caption property is a short textual description (one-line string) of the object.'
MaxLen64
readTrue
Caption property is in 1050 classes of ROOT\cimv2 and in 37 namespaces
Description property
CIMTYPE'string'
Description'The Description property provides a textual description of the object. '
readTrue
Description property is in 1061 classes of ROOT\cimv2 and in 142 namespaces
InstallDate property
CIMTYPE'datetime'
Description'The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.'
MappingStrings['MIF.DMTF|ComponentID|001.5']
readTrue
InstallDate property is in 227 classes of ROOT\cimv2 and in 23 namespaces
Name property
CIMTYPE'string'
Description'The Name property contains a character string specifying the name of a Win32 environment variable. By specifying the name of a variable that does not yet exist, an application can create a new environment variable.
Example: Path.'
keyTrue
MappingStrings['Win32Registry|System\CurrentControlSet\Control\Session Manager\Environment']
Override'Name'
readTrue
writeTrue
Name property is in 1046 classes of ROOT\cimv2 and in 142 namespaces
Status property
CIMTYPE'string'
Description'The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.'
MaxLen10
readTrue
ValueMap['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Values['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Status property is in 230 classes of ROOT\cimv2 and in 42 namespaces

Win32_Environment Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
CreateBy'PutInstance'
DeleteBy'DeleteInstance'
Description'The Win32_Environment class represents an environment or system environment setting on a Win32 computer system.'
dynamicTrue
Locale1033
Privileges['SeRestorePrivilege']
provider'CIMWin32'
SupportsCreateTrue
SupportsDeleteTrue
SupportsUpdateTrue
UUID'{8502C4D2-5FBB-11D2-AAC1-006008C78BC7}'

Win32_Environment System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_Environment'___SYSTEM8
__NAMESPACE'ROOT\cimv2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_SystemResource', 'CIM_LogicalElement', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT8___SYSTEM3
__RELPATH'Win32_Environment'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'CIM_SystemResource'___SYSTEM8
__CLASS'Win32_Environment'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_Environment

Number of classes:2
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
Win32_EnvironmentSpecification0111999---
Win32_SessionBrokerEnvironment040----
comments powered by Disqus
WUtils.com