guitarrapc / GraniResource

PowerShell Desired State Configuration Resources for real production workload.
https://www.powershellgallery.com/packages/GraniResource
MIT License
43 stars 8 forks source link

[Breaking] GraniScheduledTask Action / Settings / Trigger will merged into CIMInstance #46

Closed guitarrapc closed 8 years ago

guitarrapc commented 8 years ago

As there are vast options to be set in ScheduledTask, will merge keys into CIMInstance. Which means you can group parameters with HashTable from New-ScheduledTaskAction|Trigger|SettingsSet.

renaudl commented 8 years ago

Hey, do you plan to add management of public MSMQs to this wonderfull resource?

guitarrapc commented 8 years ago

What a idea:) It sounds very nice but no. As MSMQ is differ from core functionality of ScheduledTask it will not.

If I have any chance to use MSMQ, will create new MSMQ Resource but I don't. Therefore, there are not plan to add. Cheers,

guitarrapc commented 8 years ago

This idea will be close, as there are another idea to brush up cTaskScheduler.

PowerShell ScheduledTasks Module is too poor to manage ScheduledTask. It is not good idea to rely on PowerShell bad system as there are too many limitation and no expose to extensibility.

Also current condition of Windows 10 + WMF5 has been breaking New-ScheduledTaskTrigger cmdlet. No fix at all, oh my god.