Is there an option to have "remote tab" like ISE has

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
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.
This topic is 7 years and 11 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
artisticcheese
Posts: 12
Last visit: Mon Sep 12, 2016 9:21 am

Is there an option to have "remote tab" like ISE has

Post by artisticcheese »

Hello,

Trying to find out if it's possible to have RemoteTab like ISE has where you execute scripts against remote computers and see results in their own dedicated console for each of those sessions.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Is there an option to have "remote tab" like ISE has

Post by davidc »

The following articles should help you configure PowerShell Studio to support console remoting:

https://www.sapien.com/blog/2012/10/15/ ... es-part-1/
https://www.sapien.com/blog/2012/10/16/ ... es-part-2/

David
David
SAPIEN Technologies, Inc.
User avatar
artisticcheese
Posts: 12
Last visit: Mon Sep 12, 2016 9:21 am

Re: Is there an option to have "remote tab" like ISE has

Post by artisticcheese »

This seems to be way overcomplicated and not as feature rich as default ISE implementation which does not require any additional steps to setup. Is there a reason it's not available in PS Studio? Is ISE using some properiatary protocols or something?
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Is there an option to have "remote tab" like ISE has

Post by davidc »

You can run scripts remotely without have to create remote cache files by using the Run Remotely command [Ctrl + R].

There is often some confusion as to how ISE works vs PowerShell Studio. PowerShell Studio always creates a new runspace (with no profile) when you execute a script. We do this to ensure the script can run on multiple machines without having dependences on modified variable or profiles. If you wish to maintain a persistent runspace you have the option run the scripts in the embedded console, which maintains a persistent runspace.

The goal of the remote cache method is to allow users to script for modules that are not installed locally. This feature allows you to create a remote console, but you can also enter a PSSession directly in the embedded console if you like.

Now if you have a script that you always want to run remotely and don't want to enter the credentials constantly, you can add the following comment to the script:
  1. # %ForceHost% = SERVERNAME, Username, Password
Or use this to prompt for credentials:
  1. # %ForceHost% = SERVERNAME, Prompt
David
David
SAPIEN Technologies, Inc.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Is there an option to have "remote tab" like ISE has

Post by davidc »

Unfortunately I can't comment on how the ISE functions internally.

David
David
SAPIEN Technologies, Inc.
This topic is 7 years and 11 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.