Catch block should be using 'Throw' to catch the errors instead of 'Write-Verbose' to properly handle error conditions. As it is, an invalid set of parameters will cause a failure, which is not properly handled by DSC:
https://github.com/rsWinAutomationSupport/rsScheduledTask/blob/staging/DSCResources/RS_rsScheduledTask/RS_rsScheduledTask.psm1#L278