I have a module that includes a function with some private data that should be secured. I don't want the hassle of constantly compiling the whole module, if that is even possible.
I want to be able to call the function and get information out of it, but I need to put this script on a variety of machines where it might be accessed and the code read by someone who should not have the information used to derive the output.
I saw something about compiling PowerShell scripts. When compiled, can they be included as commands provided by a module?
How can I go about this?