In this example, I'm going to detail how to wrap a PowerShell script in a Provisioning Package. The best example I can use is the Provisioning Package that I created to expand Driver Packs in First Boot.
PowerShell Script
First you need to make sure you have a standalone PowerShell Script that does not require interaction as Provisioning Packages won't allow that. Here's my script that is saved in a PS1 file
Windows Configuration Designer
Open Windows Configuration Designer and select Advanced Provisioning
Advanced provisioning
Complete the details for your project and press Next
(1) Enter project details (2) Press Next
Select All Windows desktop editions and press Next