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.
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.