Automating user inputs when installing softwares through powershell

This topic contains 1 reply, has 2 voices, and was last updated by  Dave Wyatt 2 years, 4 months ago.

  • Author
  • #36465


    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

  • #36466

    Dave Wyatt

    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:

You must be logged in to reply to this topic.