I am running a script that will parse a relatively big csv. Depending on which machine it runs on however it will be searching for different things.
I am fairly new to powershell so I'm not sure what the most efficient way to do this would be. Keeping everything in one file would be best, as I would like to be able to have all machines call the same script.
I was thinking possibly a case statement matching $env:computername to the names of the machines I will be running it on?