Skip to content

Commit

Permalink
Merge pull request #16 from MWGMorningwood/dev
Browse files Browse the repository at this point in the history
Update Set-ScheduledTask.ps1 with latest from Immy
  • Loading branch information
MWGMorningwood authored Dec 13, 2024
2 parents 146f9d6 + da3d104 commit fdcec22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Function/Set-ScheduledTask.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ switch ($method) {
if(!$Test_ScriptResult){
$Set_ScriptResult = Set-ScheduledTaskScript
Write-Progress -Activity "Setting Scheduled Task" -CurrentOperation "Enforced configured scriptblock" -PercentComplete 50 -Id 2
Write-Host $Set_ScriptResult
}
$result = Invoke-ImmyCommand {
switch ($using:Trigger) {
Expand Down Expand Up @@ -125,4 +124,4 @@ switch ($method) {
Write-Host "INFO: Scheduled Task Results:"
return $result
}
}
}

0 comments on commit fdcec22

Please sign in to comment.