Full unattend / true ZTI Start-OSDCloud with offline wim
Hey! Is there a more elegant way to achieve truely zero-touch OSDCloud with local offline wim on a flash drive?
Edit-OSDCloudWinPE -CloudDriver * -StartPSCommand "cmd /c '(echo 1 & echo 2) | powershell -command Start-OSDCloud -Restart -ZTI -FindImageFile -SkipAutopilot -SkipODT'" -UseDefaultWallpaper
If i use -FindImageFile it wants an input so not really ZTI
I'm not sure you understand the complexity to have -ZTI guess which image on your USB to use without prompting. You're expecting a bit much from this version.
Try OSDWorkspace and stop playing with the kids.
I am actually using OSDWorkspace but I'm not sure how will this help in automating applying Offline image from the flash drive...
Well, I'm not really thinking about letting -ZTI "guess", but I'd rather have a way to automate the fact when I have only 1 usb drive plugged with only 1 wim with 1 index.
Guess I'm sticking with this strange thing that works for now: "cmd /c 'echo 1 | powershell -command Start-OSDCloud -Restart -ZTI -FindImageFile -SkipAutopilot -SkipODT'" with SCCM offline serviced wim with only 1 index placed in OSDCloud\OS
I'll look into making some changes for offline ... please give me a few weeks. Is the issue that you want to use a custom WIM and not one of the builtin WIM files?
Stumbled upon this, and can add in my 2 pennies if I may (Can you tell I'm a Brit :) )
It would be really good to be able to use OSDCloud ZTI with a custom wim on the iso/usb stick in Root\OSDCloud\OS and be able to find that WIM and for you to abe able to select the index, in an automated/scripted way. Or, for the Auto Index to be used if you specifiy to version, such as Enterprise for example.
Scenario is to be able to use a custom wim file, but let that run through in ZTI way after booting from the USB.
I've personally tried to hack about with output from OSDCloud-GUI to frame this in a custom wrapper script, but simlar to this thread, not had much joy.
https://github.com/OSDeploy/OSD/issues/112
If you could add this in would be much appreciated :)
I'm looking into this too. I am using the following commandline:
Start-OSDCloud -FindImageFile -OSImageIndex 1 -Manufacturer (Get-MyComputerManufacturer -Brief) -Product (Get-MyComputerProduct)
But it still asks for selecting a Custom Windows Image and Image Index. It should be nice if we can assign these values to the global variable or as input parameter.