Repair-OSBuildTask
Last updated
Was this helpful?
Last updated
Was this helpful?
The purpose of Repair-OSBuildTask is to update an old OSBuild Task to the current version. This function requires PowerShell ISE for Gridview to function properly.
In this example I have some OSBuild Tasks which can be identified by the OSBuild prefix in the Json File Name.
A current New-OSBuildTask contains more information and can no longer be used with New-OSBuild​
When using an old OSBuild Task with New-OSBuild, you will receive an error
Repeat this process for every PEBuild Task that needs an update. Once Repair-PEBuildTask is complete, there should be no results in subsequent executions
Everything should look good after this process is complete
A backup of the old OSBuild Task will be created in a Repair subdirectory
​
In PowerShell ISE, execute Repair-OSBuildTask without any parameters. You will be prompted to select an existing for use with each of the OSBuild Tasks that need to be updated