@echo off powercfg /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c Wpeutil InitializeNetwork net use T: \\192.168.1.41\ipxe\remote-install\images /user:truenas\akanealw 8ung1e1! :ImageOptions cls title Image Options cls echo. echo 1. Install Windows image echo. echo 2. Restore Windows image echo. echo 3. Capture Windows image echo. set /p a= || set a=0 IF %a%==0 goto End IF %a%==1 goto InstallWindowsImage IF %a%==2 goto RestoreWindowsImage IF %a%==3 goto CaptureWindowsImage goto ImageOptions :InstallWindowsImage start "" cmd /k %systemdrive%\installwindowsimage.bat goto ImageOptions :RestoreWindowsImage start "" cmd /k %systemdrive%\restorewindowsimage.bat goto ImageOptions :CaptureWindowsImage start "" cmd /k %systemdrive%\capturewindowsimage.bat goto ImageOptions :End wpeutil shutdown