Coder Social home page Coder Social logo

dsorlov / sorlov.powershell Goto Github PK

View Code? Open in Web Editor NEW
26.0 6.0 8.0 1.96 MB

This is the public version of Sorlov.PowerShell Self-Hosted Executable Extensions for Powershell

Home Page: http://the.powershell.zone/software/sorlov-powershell/

License: GNU General Public License v3.0

C# 99.65% Smalltalk 0.32% PowerShell 0.03%
powershell-module powershell-cmdlets powershell selfhosted

sorlov.powershell's Introduction

Sorlov.PowerShell

This is the public version of Sorlov.PowerShell Self-Hosted Executable Extensions for Powershell

sorlov.powershell's People

Contributors

dsorlov 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sorlov.powershell's Issues

making exe from a script having argument seems to be not working

Hello
I'm trying to convert to an exe file a simple script that needs 2 arguments.
Running the ps1 populates the 2 variable with the 2 arguments I passed
Running the exe (made with the same ps1) returns only default value
Investigating shows that variables are not populated .

Here is the simple code test.ps1
Param([STRING]$clipboard = "defaultvalue", [STRING]$APP = "test",[SWITCH]$SELECT) Write-Host "Text: $clipboardnAppli: $app"`

so running "test.exe param1 param2" returns text:defaultvalue Appli:test
where runing t he ps1 returns : text:param1 Appli:param2

Building the exe using PS2EXE instead of New-SelfHostedPS solve my issue.
With PS2EXE conversion polulating variables from a passed arguments works fine.

Is that bug or am I doing something wrong ?

Thx

Doc: Build From Source

This project would be well-served by having a short 'how to build' doc for potential contributors.

Publish to Gallery

Now that the code itself is available, it'd be awesome to be able to get the module into the gallery so other modules can depend on it.

Question: Service Creation - OnStart/OnStop

Hello @DSorlov, First, Thank you for the amazing Module. I was just curious if there is any way to specify an OnStart and OnStop Function as part of my code and have them run before/after the main function based on if the service is starting or stopping.

This would be helpful so that if the service is started or stopped, it can write a log or perform certain non-loop functions outside of the main function.

minikube startup error

Hi!
This printout during startup actually creates issues with minikube on Windows with hyper-v
"
Windows PowerShell (with Sorlov.PowerShell v4.5.0.1)
Enhancements copyright (C) 2013 Daniel Sörlöv. All rights reserved.
"
Probably a issue with the minikube checks.. but I just wanted to let you know.

Thanks

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.