I have a Powershell script/function that works when you run in locally on one device. I have a need to run it on multiple devices from a csv or txt file. How can I do that? It is a pretty complexed script with over 3500 lines in it so I need to ensure that everything in the script gets executed on each of the devices in the list. I am happy to share the script if that would be helpful.
Any insight or examples of how this could be accomplished is greatly appreciated.