Giter Site home page Giter Site logo

webrunnerforpowershell's Introduction

ASP.NET Core PowerShell Script Runner

Description

This repository provides a scaffold for integrating PowerShell script execution into an ASP.NET Core web application. It allows developers to run PowerShell scripts directly from the web server, enabling various automation tasks or system administration tasks to be performed seamlessly within the context of the web application.

Features

  • Integrate PowerShell script execution into ASP.NET Core applications
  • Execute PowerShell scripts asynchronously to avoid blocking the server
  • Real-time output streaming from PowerShell to the client browser
  • Easily customizable and extendable for specific use cases

Installation

To use this scaffold in your ASP.NET Core project, follow these steps:

  1. Clone this repository to your local machine.
  2. Copy the necessary files (controller, view) to your ASP.NET Core project.
  3. Customize the controller action and view as needed for your specific requirements.
  4. Make sure to update the path to your PowerShell script in the controller.

Usage

  1. Start your ASP.NET Core application.
  2. Navigate to the page where the PowerShell script execution functionality is available.
  3. Click the "Run PowerShell Script" button to initiate the execution.
  4. Monitor the real-time output of the PowerShell script in the browser.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these guidelines:

  • Fork the repository.
  • Create a new branch for your feature or bug fix.
  • Make your changes and ensure they adhere to the project's coding style and guidelines.
  • Submit a pull request with a detailed description of your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

  • Special thanks to the ASP.NET Core community for their contributions and support.
  • Thanks to Microsoft for providing a robust framework for building web applications

webrunnerforpowershell's People

Contributors

fxpatrick avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.