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

[Enhancement]Add First Char validation for TaskPath for cScheduleTask #53

Closed guitarrapc closed 8 years ago

guitarrapc commented 8 years ago

Description

There are small limitation with cScheduleTask for TaskPath property. You should add \ for first char. Otherwise Test always fail and run Set everytime. This PR will validate FirstChar. So user don't need to think about it.

This fix is backward compatible and will not break previous configuration.

Reference

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