Home Forums Programming Powershell Powershell code encapsulation into exe with dynamic parameters RE: Powershell code encapsulation into exe with dynamic parameters

  • AlexMcCo (1/28/2014)


    Might be anyone could help with solution. I need to encapsulate powershell logic into exe. At the moment I am calling *.ps1 file using an agent job with passing to it parameter. Works fine, no issues. Unfortunately I need to deploy the script on client site. Due to company ethics need to hide the code. Any suggestion would be appreciated. Oh, and of course, I know, Powershell was created for task automation and configuration management framework.

    Shifting gears for a minute, I'd like to know what the basic purpose of this PoSH bit of code is.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)