last adjustment
parent
044ae446c7
commit
e42a8cedaa
|
@ -323,7 +323,7 @@ if (Test-Network) {
|
|||
|
||||
#Run user context scheduled task
|
||||
Write-ToLog "Starting WAU in User context..."
|
||||
Start-ScheduledTask $UserScheduledTask.TaskName -ErrorAction SilentlyContinue
|
||||
Get-ScheduledTask -TaskName "Winget-AutoUpdate-UserContext" -ErrorAction SilentlyContinue | Start-ScheduledTask -ErrorAction SilentlyContinue
|
||||
Exit 0
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue