In Powershell I am calling a custom script:
& C:\test.ps1
I want to pass a custom parameter to that script. I am trying ArgumentList. But I think that only deals with predefined arguments.
& C:\test.ps1 -ArgumentList "Something"
I'm not sure how to pass my own custom variable to another script that I call...