Automate Windows Application through PowerShell

%3CLINGO-SUB%20id%3D%22lingo-sub-2325528%22%20slang%3D%22en-US%22%3EAutomate%20Windows%20Application%20through%20PowerShell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2325528%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20automate%20the%20complete%20installation%20of%20an%20application%20that%20would%20involve%20running%20an%20exe%20file%20and%20invoking%20buttons%20like%20%22Next%22%20as%20well%20as%20entering%20text.%20Can%20someone%20guide%20me%20on%20how%20that%20will%20be%20possible%20as%20currently%2C%20I'm%20having%20trouble%20invoking%20buttons%20and%20entering%20text%20through%20PowerShell.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2325528%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%20PowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2326476%22%20slang%3D%22en-US%22%3ERe%3A%20Automate%20Windows%20Application%20through%20PowerShell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2326476%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1045573%22%20target%3D%22_blank%22%3E%40manahilakif%3C%2FA%3E%2C%3CBR%20%2F%3Ewhat%20about%20this%3F%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.softwaretestinghelp.com%2Fdesktop-application-ui-automation-with-powershell%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.softwaretestinghelp.com%2Fdesktop-application-ui-automation-with-powershell%2F%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2331012%22%20slang%3D%22en-US%22%3ERe%3A%20Automate%20Windows%20Application%20through%20PowerShell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2331012%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1045823%22%20target%3D%22_blank%22%3E%40Schnittlauch%3C%2FA%3E%26nbsp%3BI%20did%20try%20this%20but%20when%20importing%20the%20Module%20I%20am%20getting%20the%20below%20error%2C%20please%20suggest.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22manahilakif_0-1620301812336.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F278772i939BF58CBAFBAE68%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22manahilakif_0-1620301812336.png%22%20alt%3D%22manahilakif_0-1620301812336.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi, 

 

I would like to automate the complete installation of an application that would involve running an exe file and invoking buttons like "Next" as well as entering text. Can someone guide me on how that will be possible as currently, I'm having trouble invoking buttons and entering text through PowerShell. 

3 Replies

@Schnittlauch I did try this but when importing the Module I am getting the below error, please suggest. 

 

manahilakif_0-1620301812336.png