DSCResources/MSFT_ADGroup/MSFT_ADGroup.schema.mof
[ClassVersion("1.0.1.0"), FriendlyName("ADGroup")]
class MSFT_ADGroup : OMI_BaseResource { [Key, Description("Specifies the Security Account Manager (SAM) account name of the group (ldapDisplayName 'sAMAccountName').")] String GroupName; [Write, Description("Specifies the common name assigned to the group (ldapDisplayName 'cn'). If not specified the default value will be the same value provided in parameter GroupName.")] String CommonName; [Write, Description("Active Directory group scope. Default value is 'Global'."), ValueMap{"DomainLocal","Global","Universal"}, Values{"DomainLocal","Global","Universal"}] String GroupScope; [Write, Description("Active Directory group category. Default value is 'Security'."), ValueMap{"Security","Distribution"}, Values{"Security","Distribution"}] String Category; [Write, Description("Location of the group within Active Directory expressed as a Distinguished Name.")] String Path; [Write, Description("Specifies if this Active Directory group should be present or absent. Default value is 'Present'."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; [Write, Description("Description of the Active Directory group.")] String Description; [Write, Description("Display name of the Active Directory group.")] String DisplayName; [Write, Description("The credential to be used to perform the operation on Active Directory."), EmbeddedInstance("MSFT_Credential")] String Credential; [Write, Description("Active Directory domain controller to enact the change upon.")] String DomainController; [Write, Description("Active Directory group membership should match membership exactly.")] String Members[]; [Write, Description("Active Directory group should include these members.")] String MembersToInclude[]; [Write, Description("Active Directory group should NOT include these members.")] String MembersToExclude[]; [Write, Description("Active Directory attribute used to perform membership operations. Default value is 'SamAccountName'."), ValueMap{"SamAccountName","DistinguishedName","ObjectGUID","SID"}, Values{"SamAccountName","DistinguishedName","ObjectGUID","SID"}] String MembershipAttribute; [Write, Description("Active Directory managed by attribute specified as a DistinguishedName.")] String ManagedBy; [Write, Description("Active Directory group notes field.")] String Notes; [Write, Description("Specifies the description displayed on admin screens. Can be set to Group_ to filter out a group from Entra ID Connect synchronization.")] String AdminDescription; [Write, Description("Try to restore the group from the recycle bin before creating a new one.")] Boolean RestoreFromRecycleBin; [Read, Description("Returns the distinguished name of the Active Directory group.")] String DistinguishedName; }; |