Powershell Output in Output Window
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.
- flipperdink
- Posts: 3
- Last visit: Mon Nov 12, 2007 12:20 am
Powershell Output in Output Window
I love the new Output Pane. It works great for VBScript. Is there anyway to get Powershell to send output to it as well. Right now, when I run a PS script it runs in the PS Console window
Powershell Output in Output Window
This is because of the way PowerShell handles console output. I know Alex would like to find a way to do this, but I believe he's battling some PowerShell limitations.
- flipperdink
- Posts: 3
- Last visit: Mon Nov 12, 2007 12:20 am
Powershell Output in Output Window
Build 4.1.532 gives you the option of capturing PowerShell output to the Output tab/pane, if desired. Write-Debug is captured to the Debug tab (seperately from the main output of your script). Sorry this took a bit; the way you have to do this in PowerShell is 100% different from the way you'd do it with most script processors; ratehr than just grabbing stdout you actually have to host PowerShell itself which is a whole programming project. But, it's in there now and build 532 is a free release for owners of 4.1.
- flipperdink
- Posts: 3
- Last visit: Mon Nov 12, 2007 12:20 am
Powershell Output in Output Window
Thanks ! I saw the blog this morning and downloaded the new release. Very cool. You guys rock !