This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Install-ScheduledTask { | |
<# | |
.SYNOPSIS | |
Install a scheduled task using Schedule.Service COM object. | |
.DESCRIPTION | |
This function installs a scheduled task using Schedule.Service COM object. | |
.PARAMETER TaskPath | |
String. The path of the task. | |
.PARAMETER TaskName |