DSCResources/MSFT_xPackageResource/MSFT_xPackageResource.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

[ClassVersion("1.0.0"),FriendlyName("xPackage")] 
class MSFT_xPackageResource : OMI_BaseResource
{
  [write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure;
  [Key] string Name;
  [required] string Path;
  [Key] string ProductId;
  [write] string Arguments;
  [write,EmbeddedInstance("MSFT_Credential")] string Credential;
  [write] uint32 ReturnCode[];
  [write] string LogPath;
  [read] string PackageDescription;
  [read] string Publisher;
  [read] string InstalledOn;
  [read] uint32 Size;
  [read] string Version;
  [read] boolean Installed;
  [write,EmbeddedInstance("MSFT_Credential")] string RunAsCredential;
  [write] string InstalledCheckRegKey;
  [write] string InstalledCheckRegValueName;
  [write] string InstalledCheckRegValueData;
};