ContentExtraFiles

  • Requires directories in C:\OSDBuilder\Content\ExtraFiles

Add ExtraFiles Content

Let's say I want to add CMTrace.exe into the Windows\System32 directory of my OS. I'll start by creating a new directory in C:\OSDBuilder\Content\ExtraFiles. Then I'll add Windows\System directories and place the CMTrace.exe file in there

New-OSBuildTask

The ExtraFiles can be added to the OSBuild Task using the following PowerShell command

New-OSBuildTask -TaskName SeguraOSD -ContentExtraFiles

Select the Directory that contains the ExtraFiles when prompted

Task JSON

"ExtraFiles": [
"ExtraFiles\\CMTrace x64"
],