Sign in to follow this  
Followers 0
MattHiggs

(solved) Autoit powershell module

3 posts in this topic

#1 ·  Posted (edited)

Hey autoit scripters,

So I have a question concerning autoit's use in powershell.  I am trying to automate the os deployment for our clients' devices when they are shipped in for a new build.  I am using powershell to do this, but there is one particular part in which the use of autoit for simulated mouse and keyboard actions is required.  I would like to use the autoit powershell module in order to do this, but I can't just go and install autoit onto the client machines (webroot, their antivirus, seems to think it is malware, dumb antivirus), and even if it didn't, I still can't just install unapproved software on machines that I don't use.  So I have 2 questions: 1) is the autoit powershell module only a part of the autoit installation (eg. is it also available on, lets say, the powershell gallery, where you can upload powershell modules which can then be downloaded and used by community directly from powershell console), and 2) if the autoit installation is the only place that it is available, what files exactly are needed for the powershell module to function and is their any specific instruction on importing the module into powershell on a computer that does not have autoit installed.  Thanks for your help.

Edited by MattHiggs

Share this post


Link to post
Share on other sites



If you look in the directory where you installed AutoIt, under the AutoItX subdirectory, you will see the dlls that you need. You can simply do an import-module and point to the dll.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
On 1/28/2017 at 2:28 PM, JLogan3o13 said:

If you look in the directory where you installed AutoIt, under the AutoItX subdirectory, you will see the dlls that you need. You can simply do an import-module and point to the dll.

ok.  I guess I can just copy the folder to the external media I'll be using.  Thank you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0