r/PowerShell • u/Ckarini • Jul 09 '19
Tutorial on creating PowerShell GUI Applications - Part 2
https://domruggeri.com/2019/07/09/creating-extensive-powershell-gui-applications-part-2/5
u/MmmmSweetLemonade Jul 09 '19
Nice job. There's a ton of potential with WPF, I have written a few that are super helpful.
2
u/Ckarini Jul 09 '19
Yeah, I tried WPF before, but the whole process seemed clunky, and it was difficult to create the forms. That's just me, though.
1
u/MmmmSweetLemonade Jul 12 '19
Did you use VisualStudio for the xaml? Coding it by hand is terribad, but VS makes that part easier. Then you can code the PS by hand.
1
u/Ckarini Jul 12 '19
No no, I used VS, but even the clicking around in the designer for wpf was a weird experience
7
u/RickaliciousD Jul 09 '19
I'm just writing some automation for our Hyper-v estate, so this will come in handy. Thanks!
3
Jul 10 '19
I didn'y know about the Convert-Form module. That could come in handy. I've been using WPF and just copy and paste the XAML code across from Visual Studio which seems to work for me.
2
u/FunkyJewMonkey Jul 09 '19
Cheers for this. I've been in a bit of a rutt lately with learning new skills, this will jump start things again 👌
1
0
Jul 09 '19
[deleted]
1
u/RemindMeBot Jul 09 '19 edited Jul 10 '19
I will be messaging you on 2019-07-17 22:55:14 UTC to remind you of this link
1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
Info Custom Your Reminders Feedback
5
u/Ckarini Jul 09 '19
Got a lot of positive feedback on the first article, so I decided to crank this one out. This time we take an in-depth look at Fields, and DataGridViews. If you guys have any suggestions on things you want to do in winforms with PowerShell, let me know!