Custom WinPE Boot Image Script

I’m on a scripting rampage at the moment writing tools for the common things I do for each customer. Here’s my latest script.

CustomWinPEWIM.ps1

This powershell script will:

- Check for prereqs (WAIK, DISM)
- Builds the WinPE dev environment (in either x86 or x64)
- Mounts the WIM
- Prompts to install non-default WinPE packages (HTA or Script Host support, for example)
- Adds Trace32.exe to the image
- Prompts asking if you want to add any other files to the image
- Unmounts and saves the custom image ready for SCCM or MDT.

The script is quite long (217 lines) so I won’t paste it here like I normally do, see above to download the script directly.

.

Posted by Matt Shadbolt
http://mattlog.net
Please comment or click an ad to support this site

Tags: ,

One Response
Filed under:Uncategorized

One Response to “Custom WinPE Boot Image Script”

Leave a Reply