I have been using the following:-
And now I need to do similar but the script I reference in $filepath now requires 2 parameters, do I need to use a Script blocl to pass the parameters in or is there another way? – Would it be possible to see an example of how to get this working with 2 parameters?
I think that's what the -ArgumentList parameter is for:
You must be logged in to reply to this topic.