PowerShell Tutorials : Making a GUI Part 3 - Drop Down Lists 1/2

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Making a GUI (Graphical User Interface) with PowerShell. In this video I go over how to a combo box (Drop down list) and how to populate the list with values using cmdlets. In the next video we will learn how to trigger actions based on the selection change in the drop down.
    Links:
    First Video : • PowerShell Tutorials :...
    PowerShell Beginner Series: • Beginner PowerShell Tu...
    PowerShell Intermediate Series: • Intermediate PowerShel...
    Tags:
    PowerShell
    GUI
    Programming
    Scripting
    Automating
    JackedProgrammer
    Coding

Комментарии • 19

  • @IMEllison
    @IMEllison 2 года назад +13

    In my search for understanding, with no exaggeration, I have watched nearly every video on RUclips for PowerShell GUI creation. This series so far is better than all of them combined. I like the way you section your code. It seems so much cleaner and easier to understand than what I've seen. This is really great content and delivery. Thank you very much!

    • @jackedprogrammer
      @jackedprogrammer  2 года назад +1

      Thank you so much @misteremachine I appreciate the kind words I'm glad you're enjoying the videos :)

  • @ariannareyna_
    @ariannareyna_ Год назад

    I am using powershell at my first internship and no other videos have helped me understand as much as yours, thank you!!!!

  • @huxham
    @huxham 2 года назад +3

    Thanks for the tutorial (from Plymouth, UK). It's been a real help, and is at just the right pace.

    • @jackedprogrammer
      @jackedprogrammer  2 года назад +1

      Not a problem! :) glad you're enjoying the videos :)

  • @chrioll
    @chrioll 2 года назад +2

    Hi, Thanks a lot for your impressive tutorials. It´s really simple to understand PowerShell works. Please do more about these themes.
    Greetings from East Tyrol/Austria

    • @jackedprogrammer
      @jackedprogrammer  2 года назад

      No problem, thank you! :) Ill be doing more of these for sure

  • @mnamusik1653
    @mnamusik1653 Год назад

    Thank you very much! ❤❤❤❤❤❤❤❤❤❤❤❤❤❤
    keep up with the great Job PowerShell-Master!

  • @buseacun6788
    @buseacun6788 2 года назад

    Thanks for the tutorial (from Turkey). That is really helped me. Could you make more videos about using ffmpeg in powershell windows forms? It would be perfect :)

  • @trinitey779
    @trinitey779 Год назад

    I keep getting this

  • @xavierscott6704
    @xavierscott6704 5 месяцев назад

    Great stuff. How do I run the form as a standalone without running PowerShell_ISE or PowerShell? Do I need to save it as a different extension. Right now the one I created I run it from the Software Center by calling the .PS1 file with the windowstyle Hidden, and that works fine for that, but I want to be able to run the form itself

  • @randomtopics7409
    @randomtopics7409 2 года назад

    Hi Thanks for your tutorial. This is really ultimate. can you help me to write some line for following scenario?
    i need a input box based on selection from drop down list. Is there any video made by you ?

  • @scriptnerdz163
    @scriptnerdz163 2 года назад

    @JackedProgrammer just wondering if its possible to use checkboxes to filter the items in the drop down list ? I'm looking to create a project where I get items from Active directory for the drop down but want to be able to filter out specific items. Not sure if checkboxes would be best method or would you recommend something else ?
    More details for an example would be an OU has the following naming convention for items 1 LS/Finance, 2 LS/Finance 4 SS/Sales, 5 SS/Sales 5TD/Testing, 6AS/Experiemental
    If I want to filter out all the names with a 5 at the beginning of the name could I use a check box to search for these specific items. Thanks for your assistance

  • @juddthompson6032
    @juddthompson6032 Год назад

    I am trying to find a way to change the font size inside of the Combo Box. Does anyone know how to do that? On the PC I am using the combo box shows up very small, so small I can't read what it is saying. The monitors I am using are 1920x1200, so I don't think it should be as small as it is. Any advice helps!
    Thank you @JackedProgrammer for making this very useful course. I really appreciate it, and have been following along in hopes of making a GUI for a simple install script at work.
    Edit: I think I was able to get a work around, and I'm not sure if this is really how to do this, but this is what I did and I am able to now change the font size of the Combo Box:
    In the ##Set up base form section instead of setting $AppForm.Font=$DefaultFont I set it ='Verdana,14'. Then for the rest of the sections I can set them independently to $DefaultFont to make them the correct size. I did keep all of the .AutoSize=$true. I found if I took that out the text started to get cut off. I hope all of that helps

  • @rijack64
    @rijack64 Год назад

    Your tutorials are awesome but I have one suggestion. Blow your nose before shooting, or pause and do it. The constant sniffling/snorting is offputting.

  • @trinitey779
    @trinitey779 Год назад

    Unable to find type [System.Windows.Form.Label].
    At line:8 char:14
    + $LabelObject=[System.Windows.Form.Label]
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (System.Windows.Form.Label:TypeName) [], RuntimeException
    + FullyQualifiedErrorId : TypeNotFound

  • @juddthompson6032
    @juddthompson6032 11 месяцев назад

    Does anyone know of a way to suppress the output of the numbers to the console? I would like this to just run cleanly without a console window opening up and displaying numbers.
    Before I posted this I did some more digging, and I found that after the line "Get-Service | ForEach-Object {$ddlService.Items.Add($_.Name)}" you can put a "> $null" so the console remains clean, and only the path opens up in the console. The whole line would look like this: Get-Service | ForEach-Object {$ddlService.Items.Add($_.Name)} > $null

    • @jackedprogrammer
      @jackedprogrammer  11 месяцев назад +1

      Hi @juddthompson6032 you can use that , you can also add a [void] infront of the line and this will void any output to the console as well, hope that helps :)