DscResources/MSFT_PSModule/MSFT_PSModule.schema.mfl

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma namespace("\\\\.\\root\\default")
instance of __namespace{ name="MS_409";};
#pragma namespace("\\\\.\\root\\default\\MS_409")

[AMENDMENT, LOCALE("MS_409")]
class MSFT_PSModule : OMI_BaseResource
{
  [Key,Description("Name of the module\n") : Amended] String Name;
  [Description("Whether the module is to be installed or uninstalled.\nPresent {default} \nAbsent \n") : Amended] String Ensure;
  [Description("The name of the module source where the module can be found.\n") : Amended] String Repository;
  [Description("Whether the package is trusted or untrusted.\nTrusted {default} \nUntrusted \n") : Amended] Boolean Trusted;
  [Description("The version of the module.\n") : Amended] String Version;
  [Description("Does not allow installation when existing cmdlets of the same name exist.\n" : Amended] Boolean NoClobber;
  [Description("Allows installation when module is not signed.\n" : Amended] Boolean SkipPublisherCheck;
  [Description("The brief description of the module.\n") : Amended] string Description;
  [Description("The version of the module that is installed.\n") : Amended] String InstalledVersion;
  [Description("The identifier of the module.\n") : Amended] String Guid;
  [Description("The base location where the module is installed.\n") : Amended] String ModuleBase;
  [Description("The type of the module.\n") : Amended] String ModuleType;
  [Description("The author of the module.\n") : Amended] String Author;
};