guitarrapc / GraniResource

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

[Fix]Unable to create a new schedule task on non-existing or empty TaskPath #50

Closed guitarrapc closed 8 years ago

guitarrapc commented 8 years ago

Description

As TestScheduleTask for TaskPath is always override as true, TaskPath checking was not working. This PR fix an issue.

Issue starts from this commit https://github.com/guitarrapc/DSCResources/commit/310b23c786e32ae4a398b18a1283da37c5c56f95#diff-1a72580fbcd883db52a1411023b70abbL30

Reference

https://github.com/guitarrapc/DSCResources/issues/49