Search found 26 matches

by Swatto86
Sun Jul 07, 2019 1:14 pm
Forum: PowerShell Studio
Topic: GUI - Mimic Console Window?
Replies: 6
Views: 961

Re: GUI - Mimic Console Window?

Found an easy way to output the robocopy output to a textbox:

Code: Select all

robocopy $source $destination /E | ForEach-Object {

$txtOutput.AppendText($_ + "`r`n")
}
by Swatto86
Fri Jul 05, 2019 11:59 pm
Forum: Trial Software / Pre-sales Technical Questions
Topic: Monthly Subscription
Replies: 1
Views: 1783

Monthly Subscription

Hi,

Is there a possibility of monthly subscription for the product - if not then is there a reason for this please?

Thanks :)
by Swatto86
Fri Jul 05, 2019 10:05 am
Forum: PowerShell Studio
Topic: GUI - Mimic Console Window?
Replies: 6
Views: 961

Re: GUI - Mimic Console Window?

Thanks david, guess I will have to update my version - so expensive for a hobbyist :/
by Swatto86
Fri Jul 05, 2019 9:19 am
Forum: PowerShell Studio
Topic: GUI - Mimic Console Window?
Replies: 6
Views: 961

Re: GUI - Mimic Console Window?

davidc wrote:
Fri Jul 05, 2019 7:21 am
I recommend looking at the Text Box - Redirect Process Output form template.

It allows you to run an external executable and the output is redirected to the TextBox control.
Thanks for the response davidc - is this available in Powershell Studio 2016? I cannot seem to find it.
by Swatto86
Fri Jul 05, 2019 1:01 am
Forum: PowerShell Studio
Topic: GUI - Mimic Console Window?
Replies: 6
Views: 961

GUI - Mimic Console Window?

To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product, version and build: Powershell Studio ...
by Swatto86
Sun Oct 04, 2015 1:52 pm
Forum: PowerShell Studio
Topic: Custom Drawing - Powershell Studio?
Replies: 1
Views: 1459

Custom Drawing - Powershell Studio?

Good Evening,

Is it possible to custom draw with an OnPaint method or something similar in Powershell Studio? or can we only use the WinForms controls available in the toolbox?

Thanks
by Swatto86
Sun Oct 04, 2015 3:06 am
Forum: PowerShell Studio
Topic: Connecting to Office 365/MSOnline...
Replies: 2
Views: 1426

Re: Connecting to Office 365/MSOnline...

Good Morning,

The script is run as an executable forms application. I guess I can use the $ConsoleOutput variable.

Thanks very much.
by Swatto86
Sat Sep 26, 2015 1:20 pm
Forum: PowerShell Studio
Topic: Connecting to Office 365/MSOnline...
Replies: 2
Views: 1426

Connecting to Office 365/MSOnline...

Good Evening,

Is it possible to show the output in my GUI that happens when I make the connection to Office 365.

If I run the command in a powershell console window I get the output about connection and loading cmdlets but I do not get this in the GUI.

Is this possible please?
by Swatto86
Tue Jun 09, 2015 9:10 pm
Forum: PowerShell GUIs
Topic: Get powershell function output?
Replies: 3
Views: 1290

Re: Get powershell function output?

Cheers found a great article on that blog section.
by Swatto86
Tue Jun 09, 2015 2:56 pm
Forum: PowerShell GUIs
Topic: Get powershell function output?
Replies: 3
Views: 1290

Get powershell function output?

Hello all, I have a form that runs a number of powershell functions but I do not know how to display the console output of what happens when the function runs in a label control on my form? I can see the text within 'Output' in the IDE but when I build my app if a function has an error during execut...