DSCResources/MSFT_xRegistryResource/MSFT_xRegistryResource.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
[ClassVersion("1.0.0"), FriendlyName("xRegistry")]
class MSFT_xRegistryResource : OMI_BaseResource
{
  [Key] string Key;
  [Key] string ValueName;
  [Write] string ValueData[];
  [Write,ValueMap{"String", "Binary", "Dword", "Qword", "MultiString", "ExpandString"},Values{"String", "Binary", "Dword", "Qword", "MultiString", "ExpandString"}] string ValueType;
  [Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure;
  [Write] boolean Hex;
  [Write] boolean Force;
};