The Deployment Bunny

OS Deployment, Virtualization, Microsoft based Infrastructure…

  • Archives

  • Meta

PowerShell is King – Running a PowerShell Demo Script in a Task Sequence

Posted by Mikael Nystrom on September 29, 2015

During the Management Master class today I did a demo of running a PowerShell script inside a Task Sequence that will gather information from both the task sequences as well as natively and writing the information in the Task Sequence dialog box, apparently I did not publish that, so here it is. To use it, put in the MDT Toolkit Script folder and run it using the Execute PowerShell Script activity.

PowerShell script action in Task Sequence

image

DemoPowerShellScript.ps1

Download

image

/mike

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

 
%d bloggers like this: