Is the Powershell Console option meant to be interactive or just for display? If not, can this be raised as a feature request to be interactive?
This is functionality that is great in the built in ISE with Windows 8/2012, so that if you reach a breakpoint for example, you can then run some commands on line command line, adjust variables and so on, before resuming execution. It makes the debugging and testing process a lot nicer.
thanks,
Tim
Powershell Console - Is it interactive
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.
Re: Powershell Console - Is it interactive
The console is interactive, you can send command via the input line, or if you prefer type directly in the console by unchecking the "Enable Enhanced Console Input Line" in Options->Console.
Note: That the console is a separate instance of the original powershell.exe and does not interact directly with the PowerShell Studio. When you run a script in PowerShell Studio it is ran in a new instance of PowerShell to ensure there are not dependencies on modified variable. If you want to maintain an ongoing session, you have the option to run the scripts in the console.
If you are debugging in PowerShell Studio, there is a separate panel called Debug Console, in which you can query the runspace during breakpoints.
David
Note: That the console is a separate instance of the original powershell.exe and does not interact directly with the PowerShell Studio. When you run a script in PowerShell Studio it is ran in a new instance of PowerShell to ensure there are not dependencies on modified variable. If you want to maintain an ongoing session, you have the option to run the scripts in the console.
If you are debugging in PowerShell Studio, there is a separate panel called Debug Console, in which you can query the runspace during breakpoints.
David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.