DSCResources/Grani_ScheduleTask/Grani_ScheduleTask.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

[ClassVersion("1.0.0.0"), FriendlyName("cScheduleTask")]
class Grani_ScheduleTask : OMI_BaseResource
{
    [Required, ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Key] String TaskName;
    [Write] String TaskPath;
    [Write] String Description;
    [Write] String Execute;
    [Write] String Argument;
    [Write] String WorkingDirectory;
    [Write, EmbeddedInstance("MSFT_Credential")] String Credential;
    [Write, ValueMap{"Highest","Limited"}, Values{"Highest","Limited"}] String Runlevel;
    [Write, ValueMap{"At","Win8","Win7","Vista","V1"}, Values{"At","Win8","Win7","Vista","V1"}] String Compatibility;
    [Write] Sint64 ExecuteTimeLimitTicks;
    [Write] Boolean Hidden;
    [Write] Boolean Disable;
    [Write] DateTime ScheduledAt[];
    [Write] String RepetitionIntervalTimeSpanString[];
    [Write] String RepetitionDurationTimeSpanString[];
    [Write] Boolean Daily;
    [Write] Boolean Once;
    [Write] Boolean AtStartup;
    [Write] Boolean AtLogOn;
    [Write] String AtLogOnUserId;
};