Creating GUI based form interface for Powershell data entry ?

asked 2022-06-17T15:26:47.903+00:00
Enterprise Architect 2,121 Reputation points

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'  

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.

Any other Microsoft 365 product suggestions will be appreciated.


Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
1,804 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,616 questions
No comments
{count} votes

Accepted answer
  1. answered 2022-06-17T15:57:24.21+00:00
    MotoX80 23,491 Reputation points

    If you need a web based solution, then use Visual Studio and build a C# ASPX web site. With VS you would get s full blown IDE which would make it easier to write the code behind object events.

    If you want to write a Powershell GUI, just do an internet search for examples.

    Or sign up for PoshGUI and use their interface to design your own.

0 additional answers

Sort by: Most helpful