No im running everything on one SharePoint server. So the SS service is running on the same machine. My first thought was that the service was not running or fully started after the first run of the script, so I gave the server a reboot after the first time the script finished. After that I started the script again and this is the only error I have when I run the script for the second time (and thirth and fourth =D )
So not sure whats happening here.
So not sure whats happening here.