DSCResources/cLocalGroup/cLocalGroup.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
 
[ClassVersion("1.0.0.0"), FriendlyName("cLocalGroup")]
class cLocalGroup : OMI_BaseResource
{
    [Write, Description("Indicates if the group exists. Set this property to Absent to ensure that the group does not exist. Setting it to Present (the default value) ensures that the group exists."), ValueMap{"Absent","Present"}, Values{"Absent","Present"}] String Ensure;
    [Key, Description("Indicates the name of the group.")] String GroupName;
    [Write, Description("Indicates the description of the group.")] String Description;
    [Write, Description("Indicates that you want to ensure these members form the group.")] String Members[];
    [Write, Description("Indicates the users who you want ensure are not members of this group.")] String MembersToExclude[];
    [Write, Description("Indicates the users who you want to ensure are members of the group.")] String MembersToInclude[];
};