This is starting to get on my tits, you use the word Simple in your script title, but is it...no...
Im running the latest PowerShell - actually updated it from trying to troubleshoot this
Log follows, please fix ....
Simple Chromium Updater (chrupd.cmd)
New-ScheduledTaskAction : The term 'New-ScheduledTaskAction' is not recognized
as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:152 char:13
-
$action = New-ScheduledTaskAction -Execute $vbsWrapper -Argum ...
-
- CategoryInfo : ObjectNotFound: (New-ScheduledTaskAction:String)
[], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
New-ScheduledTaskTrigger : The term 'New-ScheduledTaskTrigger' is not
recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
At line:154 char:13
-
$trigger = New-ScheduledTaskTrigger -RandomDelay (New-TimeSpan -H ...
-
- CategoryInfo : ObjectNotFound: (New-ScheduledTaskTrigger:String
) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
& : The term 'Get-ScheduledTask' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:155 char:13
-
If (-Not (&Get-ScheduledTask -ErrorAction SilentlyContinue -TaskN ...
-
- CategoryInfo : ObjectNotFound: (Get-ScheduledTask:String) [], C
ommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
Get-ScheduledTask : The term 'Get-ScheduledTask' is not recognized as the name
of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try
again.
At line:161 char:11
-
$task = (Get-ScheduledTask -TaskName "$scriptName")
-
- CategoryInfo : ObjectNotFound: (Get-ScheduledTask:String) [], C
ommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
Task: ""
Description: "", State: .
Logging to: "C:\chrupd-master\chrupd.log"
Currently installed version: "68.0.3440.106"
Using the folowing settings:
Checking: "chromium.woolyss.com", Editor: "Nik", Channel: "stable"
[OK] Latest Chromium version already installed