Code Monkey home page Code Monkey logo

launchpad's Introduction

{ Launch-Pad }

npm Build status Stories in Ready

PowerShell Command Center

Automation for Everyone

ASP.NET CORE 2.0 MVC

This project is looking for contributors. If you have a feature you'd like to see implemented or a bug you'd liked fixed, the best and fastest way to make that happen is to implement it and submit it back upstream for consideration. All contributions will be given thorough consideration.

The project is not ready for production environments and should be used for testing only.

Get started with v0.0.1-alpha

Get started contributing in 3 easy steps:

Default Admin Account:

Username: admin
Password: Admin1234!

Key Features

  • Secure central location for all your scripts
  • User/Role Management
  • Auditing - who ran what when
  • Syntax highlighting editor
  • Launch scripts from the web
  • Schedule scripts with recurring options
  • Ability to leverage parameters and variables in your scripts
  • View results

Screenshots

Scripts Dashboard

Launch-Pad Dashboard

Launching Scripts with Parameters

Launch-Pad Launch Script with Params

View Output

Launch-Pad View Output

Schedule

Launch-Pad Schedule Script with Params

Create and Edit Scripts

Launch-Pad Create and Edit Scripts


Planned Features

  • Define custom end user roles (Exchange, Business Departments)
  • Publish scripts to dashboard for end users to launch/schedule scripts they need
  • Export and/or email script results
  • Email alerts on failures
  • Version Control

Special Thanks To

  • HangFire for fire-and-forget tasks
  • Ace.js editor for script editing and syntax highlighting

launchpad's People

Contributors

michaelburns avatar waffle-iron avatar zachprovenbi avatar zachssb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

launchpad's Issues

Script not Cascading Delete for Jobs

When deleting a Script, EF is not cascading delete.

Dependency in Job.cs model:

public int ScriptId { get; set; }.

To Fix:

  • Add Cascade Delete for EF Script -> Job

Updated Instructions for Testing / Preview Use

Hey! This came up today in the STLPSUG meetup.

I notice that the readme still specifies using dnx in the get going instructions, which I think i out of date - can you clarify / update?

Am I completely wrong? Really excited to see you working on this project again!

Problem with Powershell Executionpolicy

I have a problem with the execution policy on my Windows 10 machine.

This is my Testcode:

image

It fails with this error:

System.Management.Automation.PSSecurityException was unhandled by user code
  HResult=-2146233087
  Message=File C:\Alchemy\Scripts\TestMe.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
  Source=System.Management.Automation
  WasThrownFromThrowStatement=false
  StackTrace:
       at System.Management.Automation.AuthorizationManager.ShouldRunInternal(CommandInfo commandInfo, CommandOrigin origin, PSHost host)
       at System.Management.Automation.CommandDiscovery.ShouldRun(ExecutionContext context, PSHost host, CommandInfo commandInfo, CommandOrigin commandOrigin)
       at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(CommandInfo commandInfo, CommandOrigin commandOrigin, Nullable`1 useLocalScope, SessionStateInternal sessionState)
       at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(String commandName, CommandOrigin commandOrigin, Nullable`1 useLocalScope)
       at System.Management.Automation.CommandFactory._CreateCommand(String commandName, CommandOrigin commandOrigin, Nullable`1 useLocalScope)
       at System.Management.Automation.Runspaces.Command.CreateCommandProcessor(ExecutionContext executionContext, CommandFactory commandFactory, Boolean addToHistory, CommandOrigin origin)
       at System.Management.Automation.Runspaces.LocalPipeline.CreatePipelineProcessor()
       at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
       at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()
  InnerException: 
       HResult=-2147024891
       Message=File C:\Alchemy\Scripts\TestMe.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
       InnerException: 

My executionpolicy:
image

I'm running your project from VS Professional 2015 with IIS Express.

I found a solution for this problem in this blog http://www.nivot.org/blog/post/2012/02/10/Bypassing-Restricted-Execution-Policy-in-Code-or-in-Script

            // Executionpolicy Bypass
            // 
            InitialSessionState initial = InitialSessionState.CreateDefault();

            // Replace PSAuthorizationManager with a null manager
            // which ignores execution policy 
            initial.AuthorizationManager = new
                  System.Management.Automation.AuthorizationManager("Microsoft.PowerShell");

            //Create Runspace
            Runspace runspace = RunspaceFactory.CreateRunspace(initial);

Non existing modules

If a user References a module that is not loaded or available, the Application crash. My suggestion is that you list available verbs/modules for the user so they know whats available. In addition error handling for non existing modules.

Rework for ASP.NET Core and Entity Framework Core

Attempted to install the alpha release from a year ago to play with the project, noticed that DNVM wasn't downloading, realized that the project was based on the core technologies before the rebranding and official release.

I'm sure this change would be major and the project hasn't been updated for a while. Just wanted to file the issue and raise awareness for it with you in case you do plan to return to the project.

Help Improve Syntax

Need help improving JobServices.cs syntax and logic.

JobServices is currently responsible for HangFire job creation and updating the job schedule status inside the MVC application.

Write-Host with Background color equivalent

Hello,

Thank you for your great work. It's saving me time.

Is it the latest release available ?
Also how can I do a write-host with text color ?

Write-Output doesnt support coloring.

any tought ?
Regards

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.