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.
Is there an option to have "remote tab" like ISE has
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.
- artisticcheese
- Posts: 12
- Last visit: Mon Sep 12, 2016 9:21 am
Re: Is there an option to have "remote tab" like ISE has
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
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.
SAPIEN Technologies, Inc.
- artisticcheese
- Posts: 12
- Last visit: Mon Sep 12, 2016 9:21 am
Re: Is there an option to have "remote tab" like ISE has
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?
Re: Is there an option to have "remote tab" like ISE has
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:
Or use this to prompt for credentials:
David
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:
- # %ForceHost% = SERVERNAME, Username, Password
- # %ForceHost% = SERVERNAME, Prompt
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Is there an option to have "remote tab" like ISE has
Unfortunately I can't comment on how the ISE functions internally.
David
David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.