Search found 63 matches

by MarvelManiac
Wed Feb 14, 2018 8:51 am
Forum: PowerShell GUIs
Topic: Responsive loop progress bar - sending me loopy
Replies: 4
Views: 2016

Re: Responsive loop progress bar - sending me loopy

Here is a breakdown for you that should help at least start wrapping your head around Jobs. It took me over a year and I'm still probably not doing it the most efficient way.
TestJobToSendOut.psf
(26.62 KiB) Downloaded 155 times
by MarvelManiac
Wed Feb 14, 2018 7:17 am
Forum: PowerShell
Topic: Select-Object -last 1?
Replies: 4
Views: 2285

Re: Select-Object -last 1?

Sorry for the delay. Here is my working example with lots of corporate applications removed from the excluded applications.txt but I think you'll get the jist

You'll only need to edit lines 206, 207 to get this to work
TestMatch.zip
(104.43 KiB) Downloaded 97 times
by MarvelManiac
Tue Feb 13, 2018 9:45 am
Forum: PowerShell
Topic: Select-Object -last 1?
Replies: 4
Views: 2285

Re: Select-Object -last 1?

I’ll post my psf later. Maybe it’ll help show

I should have done it in the first place
by MarvelManiac
Mon Feb 12, 2018 2:10 pm
Forum: PowerShell
Topic: Select-Object -last 1?
Replies: 4
Views: 2285

Select-Object -last 1?

Hello, So I gather applications off of a PC Our log files tell us what applications have been installed. I could pull the registry but I've found looking for the .log files to be much quicker I have a problem where we have mutliple versions of applications Chrome Acrobat Visio etc.. If my list looks...
by MarvelManiac
Sun Feb 11, 2018 10:05 pm
Forum: PowerShell GUIs
Topic: Start position of ChildForm relative to ParentForm
Replies: 6
Views: 2075

Re: Start position of ChildForm relative to ParentForm

I was surprised how small of increments my height and width needed to change. But we have success. Some brilliant work! Thank you.
Winner.png
Winner.png (20.54 KiB) Viewed 1950 times
by MarvelManiac
Fri Feb 09, 2018 4:33 pm
Forum: PowerShell GUIs
Topic: Start position of ChildForm relative to ParentForm
Replies: 6
Views: 2075

Re: Start position of ChildForm relative to ParentForm

Thanks. I’ll report back any findings.
by MarvelManiac
Fri Feb 09, 2018 8:51 am
Forum: PowerShell GUIs
Topic: Start position of ChildForm relative to ParentForm
Replies: 6
Views: 2075

Re: Start position of ChildForm relative to ParentForm

The $label from the main form appears it cannot be called in the childform
labellocation.png
labellocation.png (22.04 KiB) Viewed 2062 times
by MarvelManiac
Fri Feb 09, 2018 8:13 am
Forum: PowerShell GUIs
Topic: Start position of ChildForm relative to ParentForm
Replies: 6
Views: 2075

Start position of ChildForm relative to ParentForm

When I click on a label, it brings up my child form. The child form has two images. What I would like is the child form, to always show in the exact location relative to the Parent no matter where the Parent is located ChildParentLocation.png I can set the Start Position of the Child to CenterParent...
by MarvelManiac
Thu Jan 18, 2018 3:37 pm
Forum: PowerShell GUIs
Topic: Newbie form questions
Replies: 32
Views: 7336

Re: Newbie form questions

to be more clear on the command line once compiled it like to run it like test.exe /this is a test and be able to get the This is a test onto the form title and a text box. How can I get the command line passed to the exe? thanks Check for validation of your cmd line that is has ran successfully, t...
by MarvelManiac
Wed Jan 17, 2018 7:59 am
Forum: PowerShell
Topic: Need some help with RegEx
Replies: 4
Views: 1957

Re: Need some help with RegEx

  1. foreach ($key in $keys)
  2.  
  3.         {
  4.  
  5.             [pscustomobject]@{
  6.  
  7.                 Printer  = ($key -split ',')[-1]
  8.  
  9.             }
  10.  
  11.         }

Works beautifully. Thanks!