Search found 237 matches

by mqh777
Tue Sep 23, 2014 10:08 am
Forum: PowerShell Studio
Topic: How do you run without a CMD window?
Replies: 6
Views: 3422

Re: How do you run without a CMD window?

I have created 1 form. On this form I have 2 buttons. Here is the exact code for each button. $buttonSendMSGTo1Computer_Click={ #TODO: Place custom script here $computer = Read-Host -Prompt "Enter a single computer name" $Message = Read-Host -Prompt "Enter your message here" msg /SERVER:$computer * ...
by mqh777
Tue Sep 23, 2014 9:03 am
Forum: PowerShell Studio
Topic: How do you run without a CMD window?
Replies: 6
Views: 3422

Re: How do you run without a CMD window?

ok, I click on the Deploy Tab\Build. From there I have a Script Packager options window. Under PLATFORM I do NOT have any executable options. I only have (command line) & (Windows forms) so I picked (Sapien PowerShell v2 Host (Windows Forms) Win32. Now when I run my tool it does not complete. It sho...
by mqh777
Tue Sep 23, 2014 8:37 am
Forum: PowerShell GUIs
Topic: close a form?
Replies: 6
Views: 5745

Re: close a form?

Thanks. I did add a new Button to my form and it has this exact code. $button1_Click={ #TODO: Place custom script here $form1.Close() } when I run my project I click on this button1 and nothing happens. The form does not close. In the code window at the bottom I have this error. ERROR: You cannot ca...
by mqh777
Tue Sep 23, 2014 6:52 am
Forum: PowerShell Studio
Topic: How do you run without a CMD window?
Replies: 6
Views: 3422

How do you run without a CMD window?

I created a new Project. I created this on a Windows 7 x64 workstation but when I did a "build" I built it for PS 2.0 and x86. all of our Windows 7 workstations are running PS 2.0 on a 32-bit OS. when I run the compiled .EXE it pops up my GUI but it also pops up a CMD window. We don't want that. I w...
by mqh777
Tue Sep 23, 2014 6:50 am
Forum: PowerShell GUIs
Topic: close a form?
Replies: 6
Views: 5745

close a form?

How do I close my Project form? I have code within it and once the code is done executing I want the form to close.
by mqh777
Tue Sep 23, 2014 5:34 am
Forum: PowerShell GUIs
Topic: PowerShell Studio Help
Replies: 16
Views: 5562

Re: PowerShell Studio Help

thank you.
by mqh777
Mon Sep 22, 2014 2:19 pm
Forum: PowerShell GUIs
Topic: PowerShell Studio Help
Replies: 16
Views: 5562

Re: PowerShell Studio Help

what no one has been able to answer is Will this tool do what I've posted? Yes or no?
by mqh777
Mon Sep 22, 2014 1:00 pm
Forum: PowerShell GUIs
Topic: PowerShell Studio Help
Replies: 16
Views: 5562

Re: PowerShell Studio Help

Thanks but I am not using VBScript :) Here is what we need and I need to know if this tool will do it. I need to be able to run a MSG command (formerly NetSend) to either 1 machine or all machines. So my compiled Sapian.exe tool would run and have the following. What is your MSG you want to send out...
by mqh777
Mon Sep 22, 2014 11:15 am
Forum: PowerShell GUIs
Topic: PowerShell Studio Help
Replies: 16
Views: 5562

Re: PowerShell Studio Help

thanks I did look at the sample code and I'm still struggling to find some basic stuff. How would I do the following. Ask the user: Enter a computer name. I don't see any Message buttons or ways to prompt the user. I see radio button, text, listbox, checkbox etc... but how do I prompt the user to en...
by mqh777
Thu Sep 18, 2014 7:48 am
Forum: PowerShell GUIs
Topic: PowerShell Studio Help
Replies: 16
Views: 5562

Re: PowerShell Studio Help

OK, fair enough. But what if it were not Write-Host? In this tool if you click on a button can you capture what that button click does into a variable?

Thanks.