GithubHelp home page GithubHelp logo

michaelburns / launchpad Goto Github PK

View Code? Open in Web Editor NEW
91.0 91.0 13.0 1.85 MB

PowerShell Web Portal

License: MIT License

C# 59.01% JavaScript 0.04% CSS 1.38% HTML 39.57%
asp-net-core-mvc powershell

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  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

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.

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.

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

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

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);

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.

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!

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.