I'm working on a SCCM OSD task sequence using a package and the 'run powershell script' option in the task sequence.
I need to have the script prompt for user input.
If I run the script using the F8 debug console everything works exactly right.
How can I have it display so this is possible?
Best Answer
The same basic premise as mentioned by Ethan Hinton above worked well. In my case I already have a mapped drive (U:) in use so the following worked. Ideally I'd like to convert the following to avoid needing the mapped drive.
EDIT:
I put together a blog post that outlines the basics of how to wrap this up effectively in a portable SCCM Package.
It basically makes use of a similar wrapper script (source below) and a specific set of options on the package / task sequence.
See here for the article.