When I run this, it opens the faxupload.exe software, which is good, but if I try to install it, it will ask for admin credentials. How would I store the admin usename and password in the script so that when a user runs it, it won't ask them?
You can obfuscate the credentials using base64 encoding or something else. I still haven't found of a foolproof way of providing admin credentials to scripts like this. They're always stored somewhere.