Search found 20 matches

by fatnasa
Sun Nov 30, 2014 10:44 am
Forum: Wish List and Feature Requests
Topic: $ConsoleOutput variable
Replies: 0
Views: 12965

$ConsoleOutput variable

could you please start an article / a blog about $ConsoleOutput and how it can be used.

It appears to not be documented.
by fatnasa
Sun Nov 30, 2014 10:23 am
Forum: PowerShell
Topic: script packager output
Replies: 10
Views: 3695

Re: script packager output

actually i was thinking about passing PsCredential object which isn't a valid idea any more 8-)

but i can think about this idea, thanks again
by fatnasa
Sun Nov 30, 2014 5:43 am
Forum: PowerShell
Topic: $ConsoleOutput variable -purpose
Replies: 8
Views: 3641

Re: $ConsoleOutput variable -purpose

exactly .. i can't even get it work in a simple packed ps1

thanks again
by fatnasa
Sun Nov 30, 2014 5:25 am
Forum: PowerShell
Topic: $ConsoleOutput variable -purpose
Replies: 8
Views: 3641

Re: $ConsoleOutput variable -purpose

thanks alot. :)

i have seen this already, but i didn't understand actually.

do you have some kind of example?

thanks again
by fatnasa
Sun Nov 30, 2014 4:50 am
Forum: PowerShell
Topic: $ConsoleOutput variable -purpose
Replies: 8
Views: 3641

$ConsoleOutput variable -purpose

what is the purpose of $ConsoleOutput and how to use it? :roll:
by fatnasa
Sat Nov 29, 2014 5:38 pm
Forum: PowerShell
Topic: script packager output
Replies: 10
Views: 3695

Re: script packager output

thanks alot again for your help
by fatnasa
Sat Nov 29, 2014 5:33 pm
Forum: PowerShell
Topic: script packager output
Replies: 10
Views: 3695

Re: script packager output

if I'm going to use the below inside the packager :

$global:cred = "something"

can i get the $cred outside the packager to pass to another script?

lol.. i guess not.. that was a stupid question :lol: :lol:
by fatnasa
Sat Nov 29, 2014 5:05 pm
Forum: PowerShell
Topic: script packager output
Replies: 10
Views: 3695

Re: script packager output

thanks alot for your reply

one last question : does this limitation apply to "set global var" subject from the package >> current PS session

thanks again
by fatnasa
Sat Nov 29, 2014 4:47 pm
Forum: PowerShell
Topic: script packager output
Replies: 10
Views: 3695

Re: script packager output

the output is returned to PS console

so is there any workaround to get the output as objects using the EXE?

also can i set a global Var from packaged script to the current PS session

thanks
by fatnasa
Sat Nov 29, 2014 3:40 pm
Forum: PowerShell
Topic: script packager output
Replies: 10
Views: 3695

script packager output

I'm using PS studio 2012 v3.1.29 running on windows 7 x64 i have simple script which contains the below code $global:Cred = Get-Service $Cred if the script is packaged : - the $cred is returning a table as a single string (not an array) - no global var is set if the script isn't packaged : everythin...