Search found 69 matches
- Wed May 17, 2017 5:56 am
- Forum: PowerShell GUIs
- Topic: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
- Replies: 38
- Views: 14435
Re: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
Sorry for the delay in response, jvierra, Based on looking at the imported control set, i have implemented it into my code. Back to my previous question about the properties for a control: In the PSS application if a user selects and sets a property manually through the properties pane is that infor...
- Thu May 11, 2017 1:16 pm
- Forum: PowerShell GUIs
- Topic: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
- Replies: 38
- Views: 14435
Re: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
Nevermind i found where they are and how to access them, sorry about that.
- Thu May 11, 2017 1:13 pm
- Forum: PowerShell GUIs
- Topic: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
- Replies: 38
- Views: 14435
Re: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
Look at the properties pane. What happens when you change a property? -- My point is if you manually change a property on a control is it stored somewhere to reference. Vs if you hard coded it in your code on a control you would know as the code is listed in the control. Control Sets... Based on you...
- Thu May 11, 2017 12:35 pm
- Forum: PowerShell GUIs
- Topic: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
- Replies: 38
- Views: 14435
Re: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
How does this simple question, which is a yes or no response get a reply of this? Copying and pasting from a script? The question: Is there anyway to know in PSS if a set value for a control is set/changed from default in the properties vs hard coding it (which you would know right away)? jvierra: I...
- Thu May 11, 2017 12:22 pm
- Forum: PowerShell GUIs
- Topic: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
- Replies: 38
- Views: 14435
Re: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
I know how to create a form in PSS, as how did i magically create the form/example when i started this thread which everything was working fine. Just want to have a responsive form when Get-AdComputer was called/used. Anyways... Is there anyway to know in PSS if a set value for a control is set/chan...
- Thu May 11, 2017 11:57 am
- Forum: PowerShell GUIs
- Topic: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
- Replies: 38
- Views: 14435
Re: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
I got rid of my "horribly" written code/wsf file and created one from scratch to reference what you had change/coded for the routine. Does the file/code you provided work, yes. Taking the pieces of what you added and putting them on my newly created wsf file it doesn't seem to update (got ...
- Thu May 11, 2017 9:09 am
- Forum: PowerShell GUIs
- Topic: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
- Replies: 38
- Views: 14435
Re: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
The message box doesn't come up with [System.Windows.Forms.MessageBox]::Show( $res.Count) or updating a form property (textbox) within the CompletedScript. It does work outside of the Completed script. I created a separate button with the following code, keeping it simple and the value of $res.Count...
- Thu May 11, 2017 7:49 am
- Forum: PowerShell GUIs
- Topic: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
- Replies: 38
- Views: 14435
Re: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
I understand about jobs, as i use the code under "Creating a Form that utilizes Jobs" with the command with Get-ADComputer and it works fine. Returns results, just with the JobTracker it is not returning results. I have test ed just putting in a simple WMI call, still return no results. Yo...
- Thu May 11, 2017 6:53 am
- Forum: PowerShell GUIs
- Topic: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
- Replies: 38
- Views: 14435
Re: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
Running the debugger i see the values pass to the Add-JobTracker working.
1) $Job is returning empty on Receive-Job (CompletedScript)
2) If I pipe the Get-AdComputer into a variable, the variable is empty after it has ran.
Will keep troubleshooting, figured the $Job variable should not be empty.
1) $Job is returning empty on Receive-Job (CompletedScript)
2) If I pipe the Get-AdComputer into a variable, the variable is empty after it has ran.
Will keep troubleshooting, figured the $Job variable should not be empty.
- Wed May 10, 2017 8:43 pm
- Forum: PowerShell GUIs
- Topic: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
- Replies: 38
- Views: 14435
Re: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
If i take the example/code provided (Add-JobTracker), did you return results/test it? 1) Wouldn't the progressbar information need to be in the completedscript and then followed by updating the datagrid? $progressbar1.Maximum = $v_AD_AllWinServers.count $progressbar1.Value = 0 2) It doesn't seem tha...