Automation

 View Only
  • 1.  How to Secure my PowerCLI script?

    Posted Jun 11, 2012 09:23 PM

         Is there a way to secure my script from people who wants to see my beautiful code??:smileyhappy:



  • 2.  RE: How to Secure my PowerCLI script?

    Posted Jun 11, 2012 11:32 PM

    Various compilers are available for PowerShell scripts. Outside of a controlled interpreter (such as a GPO firing off the script instead of a person) I'm not sure - if someone can execute the script, logically they have to be able to read it too.

    Ex. http://dmitrysotnikov.wordpress.com/2011/08/22/compile-powershell-scripts-to-exe/



  • 3.  RE: How to Secure my PowerCLI script?
    Best Answer

    Posted Jun 12, 2012 05:21 AM

    If you don't use PowerGui Pro ($), you can also do it yourself.

    See Keith Hill's Make-PS1ExeWrapper and the PS2EXE project on Codeplex.