PS C:\Windows\system32> Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
Ausführungsrichtlinie ändern
Die Ausführungsrichtlinie trägt zum Schutz vor nicht vertrauenswürdigen Skripts bei. Wenn Sie die Ausführungsrichtlinie
 ändern, sind Sie möglicherweise den im Hilfethema "about_Execution_Policies" beschriebenen Sicherheitsrisiken
ausgesetzt. Möchten Sie die Ausführungsrichtlinie ändern?
[J] Ja  [N] Nein  [H] Anhalten  [?] Hilfe (Standard ist "J"): j
PS C:\Windows\system32> c:\YourFritz\master\eva_tools\EVA-FTP-Client.ps1 -Verbose -Debug -ScriptBlock { SwitchSystem;Boo
tDeviceFromImage c:\YourFritz\Images\3370.image.inmemory }
DEBUG: Response:
220 ADAM2 FTP Server ready
================
DEBUG: Sent
USER adam2
================
DEBUG: Response:
331 Password required for adam2
================
DEBUG: Sent
PASS adam2
================
DEBUG: Response:
230 User adam2 successfully logged in
================
DEBUG: Sent
SYST
================
DEBUG: Response:
215 AVM EVA Version 1.1186 0x0 0x741D
================
DEBUG: Sent
GETENV linux_fs_start
================
DEBUG: Response:
linux_fs_start        0
200 GETENV command successful
================
AUSFÜHRLICH: current setting - linux_fs_start=0
AUSFÜHRLICH: new setting     - linux_fs_start=1
DEBUG: Sent
SETENV linux_fs_start 1
================
DEBUG: Response:
200 SETENV command successful
================
AUSFÜHRLICH: new value set successfully
DEBUG: Sent
GETENV memsize
================
DEBUG: Response:
memsize               0x08000000
200 GETENV command successful
================
DEBUG: Memory size found    : 0x08000000 (128 MB)
DEBUG: Memory size used     : 0x08000000 (128 MB)
DEBUG: Image size found     : 0x014eec00
DEBUG: Set memory size to   : 0x06b11400
DEBUG: Set MTD RAM device to: 0x86b11400,0x88000000
DEBUG: Sent
SETENV memsize 0x06b11400
================
DEBUG: Response:
200 SETENV command successful
================
DEBUG: Sent
SETENV kernel_args_tmp mtdram1=0x86b11400,0x88000000
================
DEBUG: Response:
200 SETENV command successful
================
DEBUG: Sent
TYPE I
================
DEBUG: Response:
200 Type set to BINARY
================
DEBUG: Sent
MEDIA SDRAM
================
DEBUG: Response:
200 Media set to MEDIA_SDRAM
================
DEBUG: Uploading file 'c:\YourFritz\Images\3370.image.inmemory' to '0x86b11400 0x88000000' ...
DEBUG: Sent
P@SW
================
DEBUG: Response:
227 Entering Passive Mode (192,168,178,1,12,7)
================
DEBUG: Sent
STOR 0x86b11400 0x88000000
================
DEBUG: Response:
150 Opening BINARY data connection
================
DEBUG: Sent
SETENV memsize 0x08000000
================
DEBUG: Response:
553 Execution failed.
200 SETENV command successful
================
DEBUG: Sent
UNSETENV kernel_args_tmp
================
DEBUG: Response:
501 environment variable not set
================
DEBUG: Sent
QUIT
================
DEBUG: Response:
221 Thank you for using the FTP service on ADAM2
221 Goodbye.
================
Ausnahme beim Aufrufen von "Invoke" mit 1 Argument(en):  "Error uploading image file."
Bei C:\YourFritz\master\eva_tools\EVA-FTP-Client.ps1:638 Zeichen:40
+                     $ScriptBlock.Invoke <<<< ()
    + CategoryInfo          : NotSpecified: 

) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : DotNetMethodException