Automating user inputs when installing softwares through powershell


I have a requirement where I have to run a exe and click on the required buttons and read the content from one output box and save to excel and close the exe… I want to do this activity through powershell, so that I can run across multiple servers.

I have written few lines and it is not working

Start-Process “abc.exe”

after this I want to click on Run Button, and then I have to click on different buttons.

Any thoughts on it

Any software that’s worth anything should have some sort of unattended install option. However, if you really need to do GUI automation for some reason, I’m a fan of AutoIT. I haven’t used it in years (since VBScript was current), but I see that they added .NET and PowerShell support: AutoIt Cmdlets for Windows PowerShell - AutoIt Consulting