library/xPSDesiredStateConfiguration/9.2.0/DSCResources/DSC_xEnvironmentResource/en-US/DSC_xEnvironmentResource.schema.mfl

[Description("The xEnvironment resource provides a mechanism to manage machine-wide environment variables.") : Amended,AMENDMENT, LOCALE("MS_409")]
class DSC_xEnvironmentResource : OMI_BaseResource
{
  [Key, Description("The name of the environment variable for which you want to ensure a specific state.") : Amended] String Name;
  [Description("The desired value for the environment variable. The default value is an empty string which either indicates that the variable should be removed entirely or that the value does not matter when testing its existence. Multiple entries can be entered and separated by semicolons.") : Amended] String Value;
  [Description("Specifies if the environment variable should exist.") : Amended] String Ensure;
  [Description("Indicates whether or not the environment variable is a path variable. If the variable being configured is a path variable, the value provided will be appended to or removed from the existing value, otherwise the existing value will be replaced by the new value. When configured as a Path variable, multiple entries separated by semicolons are ensured to be either present or absent without affecting other Path entries.") : Amended] Boolean Path;
  [Description("Indicates the target where the environment variable should be set.") : Amended] String Target[];
};