Deployment

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

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 comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.