This is my code with PHP that passes a variable to a PowerShell script.
Param([string]$username,[string]$pass)
write-output ("username $username password $pass")
The output if I insert username:sam and pass:123 is:
username sam123 password
I want it to be like this:
username sam password 123
How can you do this?