DSCResources/MSFT_SPManagedAccount/MSFT_SPManagedAccount.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("SPManagedAccount")]
class MSFT_SPManagedAccount : OMI_BaseResource
{
    [Key, Description("The username of the account")] string AccountName;
    [Write, Description("The credential with password of the account"), EmbeddedInstance("MSFT_Credential")] String Account;
    [Write, Description("How many days before a password change should an email be sent")] Uint32 EmailNotification;
    [Write, Description("How many days before a password expires should it be changed")] Uint32 PreExpireDays;
    [Write, Description("What is the schedule for the password reset")] string Schedule;
    [Write, Description("Present ensures managed account exists, absent ensures it is removed"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure;
};