I am new to powershell, and trying to teach myself the basics. I need to write a ps script to parse a file, which has not been too difficult.
Now I want to change i
Make this in your test.ps1, at the first line
param( [string]$a ) Write-Host $a
Then you can call it with
./Test.ps1 "Here is your text"
Found here (English)