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" unter
"https:/go.microsoft.com/fwlink/?LinkID=135170" beschriebenen Sicherheitsrisiken ausgesetzt. Möchten Sie die
Ausführungsrichtlinie ändern?
[J] Ja [A] Ja, alle [N] Nein [K] Nein, keine [H] Anhalten [?] Hilfe (Standard ist "N"): j
PS C:\WINDOWS\system32> c:\eva_tools\EVA-FTP-Client.ps1 -Verbose -Debug -ScriptBlock { BootDeviceFromImage c:\eva_tools\7530.image }
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.11835 0x0 0x46409
================
DEBUG: Sent
GETENV memsize
================
DEBUG: Response:
memsize 0x10000000
200 GETENV command successful
================
DEBUG: Memory size found : 0x10000000 (256 MB)
DEBUG: Memory size used : 0x08000000 (128 MB)
DEBUG: Image size found : 0x027d8c00
DEBUG: Set memory size to : 0x05827400
DEBUG: Set MTD RAM device to: 0x85827400,0x88000000
DEBUG: Sent
SETENV memsize 0x05827400
================
DEBUG: Response:
200 SETENV command successful
================
DEBUG: Sent
SETENV kernel_args_tmp mtdram1=0x85827400,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:\eva_tools\7530.image' to '0x85827400 0x88000000' ...
DEBUG: Sent
P@SW
================
DEBUG: Response:
227 Entering Passive Mode (192,168,178,1,112,227)
================
DEBUG: Sent
STOR 0x85827400 0x88000000
================
DEBUG: Response:
150 Opening BINARY data connection
================
DEBUG: Sent
SETENV memsize 0x10000000
================
DEBUG: Sent
UNSETENV kernel_args_tmp
================
DEBUG: Sent
QUIT
================
Ausnahme beim Aufrufen von "Invoke" mit 0 Argument(en): "Error uploading image file."
In C:\eva_tools\EVA-FTP-Client.ps1:638 Zeichen:21
- $ScriptBlock.Invoke()
- ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified:
) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RuntimeException
PS C:\WINDOWS\system32>