I've created a scheduled task that runs a list of powershell scripts in serial order on the first system startup, and I'd like to add the installation of the agent in this manner. Unfortunately, I haven't been able to find a way to run the installer from the batch file, all from within a powershell script, without prompting for user input.
What's the best way to do this? I'm also open to using a BAT file or even VBS if needed. This needs to install the agent with no user intervention.