Search found 15436 matches

by jvierra
Sun Nov 30, 2014 5:31 am
Forum: PowerShell
Topic: $ConsoleOutput variable -purpose
Replies: 8
Views: 3639

Re: $ConsoleOutput variable -purpose

I have not yet foungd a way to use it in a form. It appears to not be well documented.
by jvierra
Sun Nov 30, 2014 5:17 am
Forum: PowerShell
Topic: $ConsoleOutput variable -purpose
Replies: 8
Views: 3639

Re: $ConsoleOutput variable -purpose

Here is thread that gives an explanation:
http://securescripthost.com/forums/view ... 80&p=11850
by jvierra
Sat Nov 29, 2014 5:29 pm
Forum: PowerShell
Topic: script packager output
Replies: 10
Views: 3691

Re: script packager output

No idea what you are referring to.
by jvierra
Sat Nov 29, 2014 4:55 pm
Forum: PowerShell
Topic: script packager output
Replies: 10
Views: 3691

Re: script packager output

Just o you know; this is a limitation of Windows and not the packager.
by jvierra
Sat Nov 29, 2014 4:54 pm
Forum: PowerShell
Topic: script packager output
Replies: 10
Views: 3691

Re: script packager output

Nope. All output from an packaged script is in string format. The only thing you can do is detemine the format of the strings.
by jvierra
Sat Nov 29, 2014 4:37 pm
Forum: PowerShell
Topic: script packager output
Replies: 10
Views: 3691

Re: script packager output

Not sure what you are asking about. Where is it returning string to? THe output to the console of that is an array of strings. THis is normal behavior. An EXE cannot return objects. Objects are only valid within PowerShell. Maybe the best way to put it is that you cannot pass objects between process...
by jvierra
Thu Nov 27, 2014 3:25 pm
Forum: PowerShell
Topic: Why does this not display the results in the output window
Replies: 32
Views: 15462

Re: Why does this not display the results in the output wind

Short answer: YOu must assign to teh control directly.

Example for a textbox:

$textbox1.Text = ($logons| Measure-Object -Max).Maximum

Or,as Alex suggests:

$textbox1.Text = $logons | sort-object -desc | select -first 1


It works but it is cumbersome.
by jvierra
Thu Nov 27, 2014 2:37 pm
Forum: PowerShell
Topic: Variable panel
Replies: 8
Views: 6056

Re: Variable panel

June - not a problem. We always like to hear from you. Happy Thanksgiving. Alex, Happy TG. Yes - the post mortem is excellent at times. The console launch shortcut can be invaluable. By the way, the debugger in PS 201x is excellent. I am used to the VS debugger for many, many years and have used man...
by jvierra
Thu Nov 27, 2014 12:41 pm
Forum: PowerShell
Topic: Variable panel
Replies: 8
Views: 6056

Re: Variable panel

Yes - that is true however some people have wanted it and other panels to display at custom time. The variables pane in any debugger is only meaningful when we are at a breakpoint in code. When code is running outside of a breakpoint then we need to understand that we have no access to the variables...
by jvierra
Thu Nov 27, 2014 12:02 pm
Forum: PowerShell
Topic: Variable panel
Replies: 8
Views: 6056

Re: Variable panel

Disable auto setting of "panes" thenyou canset the panes manually for each section. June is correct that when running under debugger the vaiables (object browser) closes and the tabs are set for debugging. Locals and the watch Window are now the most important. You can configure this as ne...