OSDeploy / OSDBuilder

PowerShell Module
http://osdbuilder.com
MIT License
193 stars 55 forks source link

New-PEBuild automatable #89

Open nixtar opened 1 year ago

nixtar commented 1 year ago

New-PEBuild currently has no way of being run in an automated pipeline due to the way it uses Out-GridView to have the user select the PE Task.

We have a use case where we would like to automate the building of our PE image within a CI/CD pipeline.

This PR adds 2 optional params to New-PEBuild that solves this.

I've tried to stick with the style of the existing function and modelled the usage of TaskName and SkipGrid around how they are implemented in Import-OSMedia.