3

I have setup MDT using the steps provided in this link

When I am trying to edit the task sequence and add my own script, the ps1 file is not downloading on the target machine and not running.

Attached the screenshot.

I copied the ps1 file to Deployment share\scripts folder ts

Sara June
  • 389
  • 4
  • 15

1 Answers1

1
  • First thing, I would crate a separate folder for custom scripts, and place it after Windows Update step.
  • Then create new step and chose Run PowerShell Script not Run Command Line option.
  • Then enter a path to the script in PowerShell script field, just the path.
  • Then add the -ExecutionPolicy Bypass in Parameter** field.
  • Be shore that the path to the script is accessible to MDT Deployment.
Zoran Jankov
  • 243
  • 1
  • 2
  • 16