Search found 42 matches

by Chris.Ediger
Fri Apr 03, 2020 5:40 pm
Forum: PowerShell GUIs
Topic: Create list from items in combobox
Replies: 9
Views: 734

Re: Create list from items in combobox

Awesome. Thanks for all that. I have a pretty good grasp of PowerShell it's the forms stuff that I'm out of my depth with.
by Chris.Ediger
Fri Apr 03, 2020 2:47 pm
Forum: PowerShell GUIs
Topic: Create list from items in combobox
Replies: 9
Views: 734

Re: Create list from items in combobox

Ok, I've mentioned this before but I'm pretty new to this programming thing and I'm really learning as I go. I'm not trying to have someone write code for me but I really don't even know what question to ask or what to search for. I appreciate that you gave me a couple links to information but that ...
by Chris.Ediger
Fri Apr 03, 2020 2:09 pm
Forum: PowerShell GUIs
Topic: Create list from items in combobox
Replies: 9
Views: 734

Re: Create list from items in combobox

Is there a way to remove specific items from the listbox? Say I wanted to remove a user from the list. Can I select that user and right click/remove?
by Chris.Ediger
Fri Apr 03, 2020 11:31 am
Forum: PowerShell GUIs
Topic: Convert regular form to one with tabs?
Replies: 5
Views: 633

Re: Convert regular form to one with tabs?

I think I understand now
by Chris.Ediger
Fri Apr 03, 2020 9:07 am
Forum: PowerShell GUIs
Topic: Convert regular form to one with tabs?
Replies: 5
Views: 633

Convert regular form to one with tabs?

I have a tool that I'd like to convert to a tabbed form. Is there a way to import or copy over from my regular form to the tabbed form?
by Chris.Ediger
Thu Apr 02, 2020 9:20 am
Forum: PowerShell GUIs
Topic: Create list from items in combobox
Replies: 9
Views: 734

Re: Create list from items in combobox

Cool. Didn't know I could do that. Thanks!
by Chris.Ediger
Thu Apr 02, 2020 8:55 am
Forum: PowerShell GUIs
Topic: Create list from items in combobox
Replies: 9
Views: 734

Re: Create list from items in combobox

Ok, I see that. How do I get the name in the combobox to the listbox? I have an "Add" button that does this $listbox.Text = $combobox.Text but nothing gets copied to the list box.
by Chris.Ediger
Thu Apr 02, 2020 8:29 am
Forum: PowerShell GUIs
Topic: Create list from items in combobox
Replies: 9
Views: 734

Create list from items in combobox

I want to take items selected from a combobox, in this case active directory users, and put them into a list. I then want to take the items in that list (of users) and then do something with them, in this case add them to an AD group. I'm able to build the form and get the basics up and running. I'v...
by Chris.Ediger
Mon Mar 16, 2020 2:14 pm
Forum: PowerShell
Topic: Unhandled Exception when using break in function
Replies: 8
Views: 672

Re: Unhandled Exception when using break in function

I'm not a programmer at all. Everything I've done is self taught so I'm sure I'm doing a lot of things in a jankey sort of way. I do the best I can until it works.
by Chris.Ediger
Mon Mar 16, 2020 1:29 pm
Forum: PowerShell
Topic: Unhandled Exception when using break in function
Replies: 8
Views: 672

Re: Unhandled Exception when using break in function

I have this function run in the context of my larger user creation function. When the user clicks my "Create User" button it calls a user creation function that has the Get-DomainAdminCredentials function first. After it gathers the (correct) credentials it goes on to do the rest of the stuff... If ...