Powershell Studio is build 4.2.82
I am running the exe on Windows 7 Enterprise 64bit with SP1
I have the code set to use Powershell V2 Winforms 32 as the engine
Powershell v 2 is the most commonly installed version
My workstation has Powershell v4
Alternate credentials are not being used
Search found 27 matches
- Thu Mar 12, 2015 2:51 pm
- Forum: PowerShell Studio
- Topic: Packaged Executable doesn't run
- Replies: 4
- Views: 2039
- Thu Mar 12, 2015 11:50 am
- Forum: PowerShell Studio
- Topic: Packaged Executable doesn't run
- Replies: 4
- Views: 2039
Packaged Executable doesn't run
Hello all I have built an executable with Powershell studio 2015 that has no version restrictions for powershell and the engine is set to V2 win32 forms. The application starts a process and then quits before the gui even appears. When testing and running the project inside PowerShell Studio, everyt...
- Wed Sep 03, 2014 2:00 pm
- Forum: PowerShell GUIs
- Topic: Trying to call script and return value to form
- Replies: 19
- Views: 10069
Re: Trying to call script and return value to form
Removed an extra parameter from get.ps1 and things look pretty good.
thanks for all the help with this and overall guidance with the product
thanks for all the help with this and overall guidance with the product
- Wed Sep 03, 2014 8:38 am
- Forum: PowerShell GUIs
- Topic: Trying to call script and return value to form
- Replies: 19
- Views: 10069
Re: Trying to call script and return value to form
That works... would it have been expecting 2 output values because there were multiple input values?
- Wed Sep 03, 2014 8:32 am
- Forum: PowerShell GUIs
- Topic: Trying to call script and return value to form
- Replies: 19
- Views: 10069
Re: Trying to call script and return value to form
If I am using one form, is there benefit to using a project?
- Wed Sep 03, 2014 8:32 am
- Forum: PowerShell GUIs
- Topic: Trying to call script and return value to form
- Replies: 19
- Views: 10069
Re: Trying to call script and return value to form
I think I will rework it into one file (the form). Tried this way because the original script works with message box popups from the command line and I wanted to see about making it easy to use for others.
- Wed Sep 03, 2014 8:22 am
- Forum: PowerShell GUIs
- Topic: Trying to call script and return value to form
- Replies: 19
- Views: 10069
Re: Trying to call script and return value to form
The message box appears with no value... so I am guessing there is nothing being returned from get_ps1
- Wed Sep 03, 2014 8:17 am
- Forum: PowerShell GUIs
- Topic: Trying to call script and return value to form
- Replies: 19
- Views: 10069
Re: Trying to call script and return value to form
The HTML was to call out the portion where I was stuck. If I use $labelResultsHere.text=Call-get_ps1 $txtUser.text as you suggest, I get the same result, no values pulled into the form
- Wed Sep 03, 2014 8:06 am
- Forum: PowerShell GUIs
- Topic: Trying to call script and return value to form
- Replies: 19
- Views: 10069
Re: Trying to call script and return value to form
THis line at the bottom is as far as i got
$labelResultsHere.text = $script:
since its code labeled, coloring text didnt work
$labelResultsHere.text = $script:
since its code labeled, coloring text didnt work
- Wed Sep 03, 2014 8:00 am
- Forum: PowerShell GUIs
- Topic: Trying to call script and return value to form
- Replies: 19
- Views: 10069
Re: Trying to call script and return value to form
The code for the script file (get.ps1) is below: param ([parameter(Mandatory = $true, Valuefrompipeline = $true)][string]$user, $SERVER = (get-addomaincontroller).name) $use = get-aduser $user -SERVER $SERVER -properties passwordlastset, passwordneverexpires, lockedout $til = (([datetime]::FromFileT...