Hi everybody. I'm starting to use Powershell to do some administrative tasks and i'm having a little bit of trouble with a particular script.
My client needs to deploy a software, but it only have a EXE setup. I've converted it to MSI, but the deploy via GPO isn't working fine. So i decided to create a powershell script to deploy the application.
I've acomplished the installation via script, but only when the user has administrator privilegies. So here's my question: i need to run this script at the user's logon, and my objective is to run the installation script with elevated rights.
Is there a way to input the credentials into the script, without the prompting? I wanna store the credentials in the script, so the proccess will be transparent for the user.