michaelburns / launchpad Goto Github PK
View Code? Open in Web Editor NEWPowerShell Web Portal
License: MIT License
PowerShell Web Portal
License: MIT License
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!
When deleting a Script, EF is not cascading delete.
Dependency in Job.cs model:
public int ScriptId { get; set; }.
To Fix:
If script names are not unique, the file will be overwritten. Need to rewrite the logic for create POST.
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.
Packed ID was invalid, I reached out to developer and they have updated this today.
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.
I have a problem with the execution policy on my Windows 10 machine.
This is my Testcode:
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:
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);
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.
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
The appsettings.json file contains the folder location for scripts but if the location does not exist, the application will crash.
Would love to tinker with this but the referenced exe does not exist.
await _identityManager.AddUserToRole(admin.Id, "User Admin");
should be:
await _identityManager.AddUserToRole(admin.Id, adminRoleId);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.