We are able to build a winpe environment with the correct packages that will allow for Powershell run script tasks to work in winpe. You just need to make a few changes to a file on the notification server.
Instructions to make the change:
- Open default.bdc file on the notification server with notepad++. ( \Program Files\Altiris\Deployment\BDC\bootwiz\default.bdc )
- Add under Packages:
WINPE-DISMCMDLETS=True
WINPE-NETFX=True
WINPE-POWERSHELL=True
WINPE-STORAGEWMI=True
- Save file
- Open up Altiris Console
- Go to Settings > All Settings
- Go to Deployment > Packages > BDC
- Click on Update Distribution Points
- Once BDC Packages is updated on Package server Rebuild your PXE/Automation Environment.