Jump to content

Run POWERSHELL from Autoit


Recommended Posts

I dont know if a lot of people are familiar with powershell, but basically how would you be able to run a powershell script form autoit?

It isnt a program, so doing Run(Script.ps1) would just open a text file, and doing @COMSPEC won't work since it isnt really a DOS console app...

Link to comment
Share on other sites

Not sure about but you can try:

Run("program_name path_to_your_script\Script.ps1")

program_name will be the name of your power shell exe (give a full name - path included)

path_to_your_script\Script.ps1 - the full name of your script (path included)

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...