Git Product home page Git Product logo

nagyistge / vmware.webcommander Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vmware-archive/webcommander

0.0 3.0 0.0 4.54 MB

Powerful, flexible, intuitive and most importantly simple. That is what a real automation solution should be. No matter how complicated the task is, we'd like to turn it into a single click. Is that possible? Not without webcommander :)

License: MIT License

PowerShell 91.31% PHP 7.21% HTML 1.49%

vmware.webcommander's Introduction

Introduction

WebCommander provides the simplest way ever to run and share Powershell scripts.

It provides a user friendly and intuitive web GUI for human users to trigger a script and view its result. At the same time, it wraps the script as a web service, whose interface and result are both in the format of JSON, to be easily consumed from other applications.

It provides a workflow engine to run multiple scripts together to handle more complex tasks. The web GUI also helps users to design, run, save and reuse workflows with simple mouse clicks.

It allows execution of scripts and workflows located anywhere on internet without any effort to clone and maintain local copies.

Script

On WebCommander, users trigger a script from the web interface. Each script parameter displays as a web form field whose name, help message, necessity and value sets are all clear to the user at a glance.

1

The web GUI also displays script result far more human friendly. Especially when it returns a large number of items, the paged tabular output could be easily sorted and filtered.

2

Behind the user friendly GUI, WebCommander actually generates outputs in JSON format, which makes it easy to be consumed programmatically from other applications.

3

All execution results are saved on server as JSON files or stored in MongoDB. They could be retrieved by running the built-in “History” command.

4

Workflow

WebCommander allows to run multiple scripts together. This is called workflow.

5

A workflow could run scripts one by one (serial) or all at the same time (parallel).

  • Serial workflow

6

  • Parallel workflow

7

On the web GUI, users could add / delete / enable / disable / move scripts simply with mouse clicks A workflow could be imported and exported as a JSON string, which could also be saved on WebCommander server for future reuse.

8

Embedded Workflow

A workflow could be turned into a single command and then embedded into other workflows. Consequently it’s able to map any execution sequence, no matter how complicate it is.

9

Share scripts

WebCommander could not only run scripts located on its local disk but also those stored on internet. For instance in the script definition JSON below, script location is http://bit.ly/1Rc823E.

10

The script definition JSON file itself could be on internet as well. To share Powershell scripts with other WebCommander users, we would simply

  • put all scripts and the definition JSON file on a public web server, such as AWS, OneDrive, Github and Dropbox
  • publish the URL of the definition JSON file

To use those shared scripts, we just add the URL to sources.json

11

Video Tutorials

  1. How to execute an individual command http://youtu.be/CREkoloCOmk
  2. Workflow basics http://youtu.be/ZJtU36kM2YY
  3. Workflow variable http://youtu.be/i6z_HKgeiqY
  4. Workflow template http://youtu.be/adXa6AHJaB8
  5. Run workflow as command http://youtu.be/DAm70VO62VY
  6. Save workflow on server http://youtu.be/_aEZhzk_Q2Y

Installation

To deploy webcommander on Windows 2008 or 2012, please follow the instructions at wiki https://github.com/vmware/webcommander/wiki/Installation-and-configuration-guide

For non server Windows (vista and newer), checkout source code from walnut branch and open www folder from WebMatrix (https://www.microsoft.com/web/webmatrix/)

Contribution

If you want to contribute code or get any idea to improve WebCommander, Please contact Jerry Liu ([email protected], Skype: [email protected]).

vmware.webcommander's People

Contributors

9whirls avatar jrob24 avatar piyush1911 avatar

Watchers

James Cloos avatar  avatar  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.