OSDBuilder icon indicating copy to clipboard operation
OSDBuilder copied to clipboard

New-PEBuild automatable

Open nixtar opened this issue 2 years ago • 0 comments

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.

  • TaskName
    • Allows you to filter the PE Tasks with an array of names
  • SkipGrid
    • Skips the Out-GridView

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.

nixtar avatar Jan 11 '23 01:01 nixtar