Hello EnterpriseArchitect,
Running a Powershell Script remotely is an easy thing, but there are different ways to achieve it. Some people prefer to run a remote Interactive Session to the remote machine, others prefer to run as Invoke-Command as it would allow to run simultaneously to many computers or be scripted to retrieve computer names from a CSV. As long as the remote machines have access to the shared location, there should not be a problem.
I will suggest to review the next reference document with guides and examples to see what fits you better:
https:// docs. microsoft. com/en-us/powershell/scripting/learn/remoting/running-remote-commands?view=powershell-7.2
---
Hope this helps with your query,
--If the reply is helpful, please Upvote and Accept as answer--