Chapter 23. Scripts Packaging and Protection

IN THIS CHAPTER

Do you ever worry about your users seeing your script source code and somehow learning more than they should? Or, perhaps you just want to ensure that your scripts aren’t modified and run by someone who shouldn’t be doing so. Encrypted or encoded scripts offer a solution to these problems, and Microsoft offers a Script Encoder tool to use with your administrative scripts. The Encoder can take a script and turn it into something like this:

image

Although it looks like gibberish, ...

Get VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows® Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.