DSCResources/Grani_ScheduleTask/Grani_ScheduleTask.schema.mof
[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; }; |