Creating GUI

Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 1 year and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
ITEngineer
Posts: 216
Last visit: Thu Mar 23, 2023 5:45 pm
Has voted: 4 times

Creating GUI

Post by ITEngineer »

Hi Everyone,

Is there any way to use a Web-based GUI form to input and display entries with the Powershell cmdlet?

The script is mostly utilizing Read-Host & WriteHost command, rather than using the typical cmd prompt window and also combining the Windows form:
Add-Type -AssemblyName 'System.Windows.Forms'
Add-Type -AssemblyName 'Microsoft.VisualBasic'
[System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
I need some examples I can use so the user experience is not switching back from Console, to the Visual basic Pop Up [Microsoft.VisualBasic.Interaction]::InputBox back and forth.

Thanks,
by jvierra » Fri Jun 17, 2022 9:32 am
PowerShell cannot build Web forms.

Your question is impossible to answer because you have not shown any code that does anything.

It is necessary to learn at least the basics of PowerShell and Windows. With some basics you will find it easier to ask a question.

I recommend two ways to get started learning and understanding PowerShell.

https://www.sapien.com/books_training/W ... werShell-4

https://info.sapien.com/

The second link has hundreds of fully working examples.
Go to full post
/* IT Engineer */
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Creating GUI

Post by jvierra »

PowerShell cannot build Web forms.

Your question is impossible to answer because you have not shown any code that does anything.

It is necessary to learn at least the basics of PowerShell and Windows. With some basics you will find it easier to ask a question.

I recommend two ways to get started learning and understanding PowerShell.

https://www.sapien.com/books_training/W ... werShell-4

https://info.sapien.com/

The second link has hundreds of fully working examples.
This topic is 1 year and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked