With the new Windows Preinstallation Environment (Windows PE) 4.0 it is now possible to add PowerShell support to your sessions. It is even easier to add it to your LiteTouchPE.wim images using MDT.
Here’s the steps:
First, download and install Windows Assessment and Deployment Kit (ADK) for Windows® 8 and Microsoft Deployment Toolkit (MDT) 2012 Update 1. This is because you’ll need WinPE 4 for this to work.
Next, right-click your DeploymentShare and select properties. On the Features tab tick the boxes .Net framework 4 and Windows PowerShell 3.0
You can add a few useful modules also. Select DISM Cmdlets, SecureBoot Cmdlets and Storage Management Cmdlets. These modules are automatically loaded during boot.
Click ok then Update your deployment share.
Updating the DeploymentShare will recreate/update the boot wim files and ISO’s in the boot folder of your Deployment Share. If you have any issues then just delete the entire contents of boot and update the share as above. This will create the boot images from scratch.
Finally, remember to replace/Update the WIM files on your USB pens or WDS server. If you get stuck, then look at my original guide here.