DscResources/MSFT_PSModule/MSFT_PSModule.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

[ClassVersion("1.0.0.0"),FriendlyName("PSModule")]
class MSFT_PSModule : OMI_BaseResource
{
  [Key] String Name;
  [Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] String Ensure;
  [Write] String Repository;
  [Write] Boolean Trusted;
  [Write] String Version;
  [Write] Boolean NoClobber;
  [Write] Boolean SkipPublisherCheck;
  [Read] string Description;
  [Read] String InstalledVersion;
  [Read] String Guid;
  [Read] String ModuleBase;
  [Read] String ModuleType;
  [Read] String Author;
};