Ok, I have a solution. It isn’t pretty, but it works. Part of the problem here was that the zero-configuration section of the PS1 file was taking over and installing the program before it even tried to use my commands. No idea why, but I think I’ll comment out that section of my baseline PSADT folder so it doesn’t affect me again. I ended up creating a CMD file with the commands that were working for me, and using Start-Process to run it instead. Now I can do the install, have the serial number work, and all anyone else will have to do to change the serial in the future is edit the CMD file instead. Not pretty. Maybe if I went back to zero and tried again without the zero-config section it would work, but I’ve already spent WAY too much time on this package. Onto the next one. Thanks for your help!