Search found 6 matches

by danilv77
Wed Sep 28, 2022 10:05 am
Forum: PowerShell GUIs
Topic: JobStatus Button - Form
Replies: 5
Views: 670

Re: JobStatus Button - Form

Okay, that is what I was thinking. Is there some additional documentation/resources on how to manage using $Arguments to pass those? I am fairly new to Powershell and I am tasked to build a GUI at the same time so there has definitely been a learning curve :(
by danilv77
Wed Sep 28, 2022 8:00 am
Forum: PowerShell GUIs
Topic: JobStatus Button - Form
Replies: 5
Views: 670

Re: JobStatus Button - Form

Hello! I do have two buttons that are start job designated, Backup and Restore. The problem I run into is with Restore it doesn't appear to be running the script when it is pressed (it doesn't perform any action and is just immediately done). The backup code (snipped): $buttonStartJob_Click={ $butto...
by danilv77
Mon Sep 26, 2022 9:31 am
Forum: PowerShell GUIs
Topic: JobStatus Button - Form
Replies: 5
Views: 670

JobStatus Button - Form

Hello! I apologize I post a lot but I am just learning how to use the tool and have searched the forums for this issue but did not quite see what I was looking for on them. I am attempting to use the start job button for running a backup and restore process. I read that within the script code block ...
by danilv77
Mon Aug 15, 2022 8:48 am
Forum: PowerShell GUIs
Topic: Using Checkboxes to Run parts of a script selectively
Replies: 4
Views: 655

Re: Using Checkboxes to Run parts of a script selectively

Thanks! I have it now, that was the nudge I needed to figure out the context to what I needed to do. Thanks again :D
by danilv77
Fri Aug 12, 2022 9:06 am
Forum: PowerShell GUIs
Topic: Using Checkboxes to Run parts of a script selectively
Replies: 4
Views: 655

Re: Using Checkboxes to Run parts of a script selectively

Thank you for your response. I was afraid it would be something that checkboxlist handled, I just haven't quite figured out how to use that effectively yet. The basic premise of what I am trying to do is that once the user clicks restore only the items that are checked would run a specific part of t...
by danilv77
Thu Aug 11, 2022 12:08 pm
Forum: PowerShell GUIs
Topic: Using Checkboxes to Run parts of a script selectively
Replies: 4
Views: 655

Using Checkboxes to Run parts of a script selectively

Hello! I am trying to run a script (or parts of it) based on if a checkbox is checked or not. I am not sure if I should be using a checkboxlist but I found the documentation on that a little confusing so I just used check boxes. An example would be restoring file a, b, c which are checked and leavin...