tabs-not-spaces / Intune.USB.Creator

A module containing tools to assist with the creation of a bootable WinPE USB used to provision devices for enrollment to Intune.
GNU General Public License v3.0
132 stars 46 forks source link

Image Index and Partition as Parameters #14

Closed axgch closed 4 years ago

axgch commented 4 years ago

Hi, I'm trying to automate the creation of new USBs in my company with your tool with a pipeline, but in order to do that, I need to pass the Image Index and the Partition as parameters. This is very useful to not be dependent on anyone's computer to build new USBs.

tabs-not-spaces commented 4 years ago

Really good idea - I'll knock together something shortly. ☕

tabs-not-spaces commented 4 years ago

@axgch - I've added a new -ImageIndex parameter to the solution. Build from the steps below and let me know if this suits your requirements.

Build Steps

.\build.ps1 -modulePath .\Intune.USB.Creator -moduleName Intune.USB.Creator -buildLocal
Import-Module .\bin\release\*buildId*\Intune.USB.Creator

Notes

the -ImageIndex parameter takes an Integer input - make sure you know which image index / edition number you want.


Let me know you go 🚀