Search found 237 matches

by mqh777
Thu Sep 18, 2014 6:21 am
Forum: PowerShell GUIs
Topic: PowerShell Studio Help
Replies: 16
Views: 4033

PowerShell Studio Help

I know how to script but I'm brand new to this tool. I created a blank form, I added 1 button to this form. When I press the button it runs this code: write-host "this is a test" On my 1 button on the right hand side I have all of the properties. I do not see any property that stores the result of p...
by mqh777
Thu Aug 28, 2014 5:47 am
Forum: PowerShell GUIs
Topic: This code does not run
Replies: 5
Views: 1760

Re: This code does not run

jvierra, I'd like to write this all myself, I guess I just need a few pointers. I'm new to this tool so can it do what I want it to? I don't want to invent a lot of time into writing this if the tool is not capable of doing what I need.

Thank you.
by mqh777
Fri Aug 22, 2014 11:13 am
Forum: PowerShell GUIs
Topic: This code does not run
Replies: 5
Views: 1760

Re: This code does not run

Here is what I'm trying to do, please let me know if this tool will work. I need to create an interactive tool that will read the current date/time. Then, compare that date/time to the last time the machine rebooted. If they are 1 week part prompt the user with a dialog that tells them to reboot. Bu...
by mqh777
Wed Aug 20, 2014 1:36 pm
Forum: PowerShell GUIs
Topic: This code does not run
Replies: 5
Views: 1760

This code does not run

We have PowerShell Studio 2014. I have a basic dialog that has 1 button. But before the dialog runs I have the following code: $time1 = Get-Date -Format yyyyMMddhh $time1 This code is followed by the default Sapien code that runs the Dialog and displays my 1 button. My problem is this code does not ...
by mqh777
Fri Aug 15, 2014 9:58 am
Forum: Windows PowerShell
Topic: how do you add dialogs to your PowerShell scripts?
Replies: 2
Views: 1256

how do you add dialogs to your PowerShell scripts?

We have downloaded PrimalScript 2014. how do you create custom dialogs? We want to create actual tools that can have buttons, check boxes, radio buttons etc.... and when any of clicked it will execute PowerShell code on the back end.

Can this tool do that?
by mqh777
Tue Feb 25, 2014 4:31 pm
Forum: PowerShell GUIs
Topic: how to add code to form?
Replies: 2
Views: 1586

Re: how to add code to form?

Ok, I figured that out. But now how do I do the following. A user enters text into a field and I need to store that in a variable and then use that variable in another script.
by mqh777
Tue Feb 25, 2014 1:03 pm
Forum: PowerShell GUIs
Topic: how to add code to form?
Replies: 2
Views: 1586

how to add code to form?

I created a script that runs a Write-Host "Hello World" command. How do I do the following.

1. Add this code to a form?
2. Add this code to a Button on a form?

Thanks