A .NET Core web application that executes PowerShell scripts and displays results in a web interface. Built with ASP.NET Core MVC, this application provides a clean interface to execute and view PowerShell script results.
- Execute PowerShell scripts through a web interface
- Filter process results by name
- Clean and responsive Bootstrap UI
- Cross-platform compatible (Windows/macOS/Linux)
- Optional debug logging
- RESTful design with POST-REDIRECT-GET pattern
- .NET 8.0
- PowerShell Core (pwsh)
- Web browser
- Clone the repository:
git clone https://github.com/YOUR_USERNAME/powershell-web-runner.git
- Navigate to the project directory:
cd powershell-web-runner
- Restore dependencies:
dotnet restore
- Run the application:
dotnet run
- Open your browser and navigate to:
https://localhost:5001
- Access the web interface
- (Optional) Enter a process name to filter results
- Click "Search" to execute the PowerShell script
- View results in the table below
/Controllers
- MVC Controllers/Models
- Data models/Views
- Razor views/Services
- PowerShell execution service/Scripts
- PowerShell scripts
Getting all the process by not passing parameters:
Feel free to submit issues and enhancement requests!