Hallo liebe Forengemeinde,
mal ne kurze Frage, ich versuche mit einem Powershellbefehl eine Datei ziehen zu lassen, was ist an diesem ausdruck auszusetzen, der Befehl selber funktioniert in CMD allein.
AutoIt
$command = "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -command Invoke-WebRequest -Uri "https://download.teamviewer.com/download/TeamViewerPortable.zip" -OutFile "teamviewer.zip""
RunWait($command, "", @SW_Show)
vielen Dank schon mal und eine schöne Woche noch