two words as one value in user prompt read-host powershell

106 Views Asked by At

User Input has two words in it. for e.g. "Reflect UI" When the user presses the space key it treats "UI" as a 2nd word. You can see this also in the color change of the 2nd word. (changes to purple) Is there a way to write the read-host prompt to allow a user to input two words that are supposed to be treated as one word? Hopefully this makes sense. Believe it or not I have searched everywhere and for some reason no one has a solution.

enter image description here

0

There are 0 best solutions below