r/PowerShell • • Jul 07 '19

Tutorial on creating Powershell applications using Visual Studio

https://domruggeri.com/2019/07/06/creating-extensive-powershell-gui-applications-part-1/
197 Upvotes

29 comments sorted by

View all comments

7

u/Catmeum Jul 07 '19

What a great and in-depth guide to starting to use a GUI in Powershell! I didn't even know that was possible. Looking forward to the next Tutorial! !remindme 30 days

8

u/get-postanote Jul 07 '19 edited Jul 07 '19

It's been possible for a very long time.

Good to see another article on tthe topic, but there are add on tools for this use case as well.

Resources...

Learning GUI Toolmaking Series

https://foxdeploy.com/series/learning-gui-toolmaking-series

Part I – Creating PowerShell GUIs in Minutes using Visual Studio – A New Hope

https://foxdeploy.com/2015/04/10/part-i-creating-powershell-guis-in-minutes-using-visual-studio-a-new-hope

Part II – Deploying PowerShell GUIs in Minutes using Visual Studio

https://foxdeploy.com/2015/04/16/part-ii-deploying-powershell-guis-in-minutes-using-visual-studio

Buy and use the PowerShell Pro tools for Visual Studio/PowerShell/VSCode, for this use case.

https://marketplace.visualstudio.com/items?itemName=ironmansoftware.powershellprotools

Youtube

'visual studio powershell'

https://www.youtube.com/results?search_query=visual+studio+powershell

visual studio gui for powershell

https://www.youtube.com/results?search_query=visual+studio+gui+for+powershell

There are also legal limits to what you can and can't do with Visual Studio Community Edition. Make sure you read the eula to avoid the potential legal issues.

3

u/[deleted] Jul 07 '19

Also note that AFAIK making GUIs isn’t available in PowerShell Core.

They’re fun to make though can be tedious. I’ve heard that PowerShell Studio is great for building these tools by simplifying the code construction. I almost bought it myself but it’s really expensive and you have to pay again every year.

3

u/Reverent Jul 07 '19

PowerShell core works fine with electron, which is what I use to construct my guis anyway.

1

u/[deleted] Jul 08 '19

Oh cool! Jeez, things are moving so quick these days once PowerShell went open source.

1

u/get-postanote Jul 08 '19

PS7 will with the new hotness in .Net Core for WinForm/WPF.

MS already announced that.

1

u/RemindMeBot Jul 07 '19 edited Jul 08 '19

I will be messaging you on 2019-08-06 16:33:47 UTC to remind you of this link

3 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.


InfoCustomYour RemindersFeedback