Dateien nach "/" hochladen

This commit is contained in:
2026-08-14 00:03:27 +02:00
parent 4fd904238f
commit 45e55c5113
+3 -1
View File
@@ -409,9 +409,11 @@ function Ensure-ScheduledTask {
$psExe = "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell.exe" $psExe = "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell.exe"
$configPath = Join-Path $TargetPath $ConfigFileName
$action = New-ScheduledTaskAction ` $action = New-ScheduledTaskAction `
-Execute $psExe ` -Execute $psExe `
-Argument "-NoLogo -NoProfile -ExecutionPolicy Bypass -File `"$scriptPath`"" ` -Argument "-NoLogo -NoProfile -ExecutionPolicy Bypass -File `"$scriptPath`" -ConfigPath `"$configPath`"" `
-WorkingDirectory $TargetPath -WorkingDirectory $TargetPath
$trigger = New-ScheduledTaskTrigger -AtStartup $trigger = New-ScheduledTaskTrigger -AtStartup