Wenn ich im Aufgabenplaner ein Powershell Script starten möchte, erhalte ich die Meldung, dass mindestens eines der Argumente ungültig sei. Die Meldung kommt, wenn ich im im Eigenschaften-Dialog des Tasks auf "OK" klicken möchte.
Als "Aktion"
Programm/Skript: Powershell.exe
Argumente hinzufügen: -command "C:\Users\Foo\ownCloud\MyAppContent\thunderbird-profile-backup.ps1"
Variante 2
Argumente hinzufügen: "C:\Users\Foo\ownCloud\MyAppContent\thunderbird-profile-backup.ps1"
Variante 3
Argumente hinzufügen: -ExecutionPolicy Bypass -File "C:\Users\Foo\ownCloud\MyAppContent\thunderbird-profile-backup.ps1"
Als "Aktion"
Programm/Skript: Powershell.exe
Argumente hinzufügen: -command "C:\Users\Foo\ownCloud\MyAppContent\thunderbird-profile-backup.ps1"
Variante 2
Argumente hinzufügen: "C:\Users\Foo\ownCloud\MyAppContent\thunderbird-profile-backup.ps1"
Variante 3
Argumente hinzufügen: -ExecutionPolicy Bypass -File "C:\Users\Foo\ownCloud\MyAppContent\thunderbird-profile-backup.ps1"