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.
Connect to Remote PC's
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- mxtrinidad
- Posts: 399
- Last visit: Tue May 16, 2023 6:52 am
Re: Connect to Remote PC's
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.
Also, it would be nice to have all the steps done that cause the "socket connection failed" message.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Re: Connect to Remote PC's
Which one of these did you use?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Connect to Remote PC's
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.
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.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Re: Connect to Remote PC's
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.
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.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.