Automating user inputs when installing softwares through powershell

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

  • Author
    Posts
  • #36465

    All,

    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
    Moderator

    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: https://www.autoitconsulting.com/site/scripting/autoit-cmdlets-for-windows-powershell/

You must be logged in to reply to this topic.