Jump to content

Sign in to follow this  

Run Powershell Script - parameters with spaces

Recommended Posts

Can anyone tell me what is the proper way to include parameters with spaces on a "Run Powershell Script" step in a task sequence? I haven't been able to find the answer anywhere and I haven't had any luck with any combinations I've tried. My script requires 2 mandatory parameters and one or both may have spaces in them. I tried to put the parameters with spaces inside of quotes. I tried to double quote. What is the official way to do it?




  • Like 1

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...