Page 1 of 1

Connect to Remote PC's

Posted: Wed Sep 25, 2019 6:16 am
by Reddrgn2
Product, version and build:
64 bit PrimalStudio 2019
Operating system:
64 bit OS: win 10

Question about connecting to remote pc/server.

I working on transittioning from PowerShell ISE to PrimalScript (for the most part).

Question : Does PrimalScript have a way to connect to a remote PC/Server the way ISE does?
(ISE - you just click the "new remote powershell tab" enter creds and your connected)

I know you can run script on remote pc, well that is what I am seeing and reading. Putting into practice seems to be a little more challenging then I thought it would be. When trying getting error - socket connection failed.

Re: Connect to Remote PC's

Posted: Wed Sep 25, 2019 7:17 am
by mxtrinidad
Can you please include the exact version of PrimalScript you are using?
Also, it would be nice to have all the steps done that cause the "socket connection failed" message.

Re: Connect to Remote PC's

Posted: Wed Sep 25, 2019 8:03 am
by Alexander Riedel
2019-09-25_8-01-56.png
2019-09-25_8-01-56.png (23.41 KiB) Viewed 194 times
Which one of these did you use?

Re: Connect to Remote PC's

Posted: Wed Sep 25, 2019 11:57 am
by Reddrgn2
PrimalScript 2019-v7.5.132

There isn't any error really - i looks like its using the RSEE but I haven't installed that compont on the server I am trying to connect to, error below from the output.

*** RSEE Sending script to dc01.mydomain.local.
Cannot send script to dc01.mydomain.local: Socket connection failed.

So does not seem like there is a type of connection like how PowerShell ISE has, just this RSEE type of connection and ability to run scripts.


Which one I choose, I clicked on "powershell" then set up the remote credentials, then click "single target" then select the server to run against/on. This is when I get the "error" of socket connection failed.

Re: Connect to Remote PC's

Posted: Mon Oct 07, 2019 12:02 pm
by Alexander Riedel
Sorry for the late reply.
I think there is a misunderstanding here.
PrimalScript has two ways of running scripts remotely. RSEE, which requires a service to be installed on the target machine. It is the redistributables folder.
And it can use PowerShell remoting, which is the third item.

So single target and multiple targets use RSEE. Powershell uses, well, Powershell.