Add Powershell Support to WinPE x86 & x64 in MDT

There are times when you would want to use Powershell or run a Powershell Script in MDT WinPE. Powershell support is available but is not enabled by default. This is how you enable it.
Launch Deployment Workbench, Open Properties of your Deployment Share and Click on Windows PE tab. Choose Platform x86 from the drop down. Select Features tab.
Enable .NET Framework and Windows Powershell

Powershell_x86

Choose Platform x64 from the drop down. Select Features tab and Enable .NET Framework and Windows Powershell. Click Apply.

Powershell_x64

Switch to the General tab and Ensure that you Enable the check box for both x86 and x64 in the Platform Supported Section and then click OK.

WinPEPlatform

Next right click on your deployment share and click on update deployment share and completely regenerate the Boot Images and click Finish when done.
Boot off the new WinPE ISO, Press F8 to launch command prompt. Run powershell.exe to launch powershell prompt.

Powershell_WinPEx64 Powershell_WinPEx86

!! Preenesh

 

Advertisements
This entry was posted in MDT and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s