WinPE Usage
OSD 23.5.21.1+ Updated May 21, 2023
OSDCloud Sandbox prepares your WinPE environment to run OSDCloud to image your device
You can use OSDCloud Sandbox on any WinPE that has PowerShell Package added from the Microsoft ADK, so this should work on most MDT and CM Boot Images. The following example is using a simple WinPE created with the Microsoft ADK (and PowerShell)
- Windows 10 or Windows 11 WinPE (ADK, MDT, or CM)
- Microsoft ADK PowerShell added to WinPE
- WinPE Drivers for your device (Network and Disk)
- Internet connection
If you booted to a USB, you can remove it at this time

In a Command Prompt, type the following command and press enter
powershell iex(irm sandbox.osdcloud.com)

If you receive an error, you may have to add the following command line in PowerShell
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
Within a minute, PowerShell Gallery will be enabled, and OSDCloud requirements (OSD Module and Curl) will be set

At this point, start PowerShell and run
Start-OSDCloud
in the new PowerShell window


Here's another example using an MDT LiteTouchPE_x64.iso. I exited the BDD Welcome Wizard to a Command Prompt and used the following commands
powershell iex (irm sandbox.osdcloud.com)
start powershell

Last modified 10d ago