Yes, like i said you have to have PowerCLI on the server where you run the script.
You run the scripts, via the Invoke-Command cmdlet, on the remote servers, while the script source is located on the repository server.
So yes, you have to have PowerCLI on those remote servers.
My suggestion was to also run the scripts on the repository server, via a remote PSSession from wherever you are to the repository server.
But if your solution is working for your environment, that is good as well.
There is always more than one way to do stuff in PowerShell/PowerCLI :smileygrin: