Hi guys,
I need your help ![]()
How do you create a script that will read the content in a csv file given as a parameter when you run the script execution command from the command line?
Hi guys,
I need your help ![]()
How do you create a script that will read the content in a csv file given as a parameter when you run the script execution command from the command line?
I’m unsure what your actual question is … how about using a parameter? ![]()
Do you actually use an internet search engine sometimes?
What do I mean is more like when I put my script file in the command line in PowerShell for make it run, I have to put in parameter a csv file. The things is I don’t know how to make my script run with a file in parameters. I dont know if you understand what i mean but it’s like this ![]()

So i dont know how to make it happen in my script.
I know exactly what you mean and I already linked helpful help topics for you in my last answer. Did you read them? Is there something particular you don’t understand?
As a general tip: In the vast majority of the cases you’re not the first one with a given task or problem. So it is pretty likely that you’ll find something you can use right away or at least use as an inspiration to adapt it to your particular needs.
Something like this:
https://www.google.com/search?q=Powershell+script+parameters