Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - PowerShell vs. Autoit

Reply
 
Old 03-14-2007   #1 (permalink)
Doug Holland


 
 

PowerShell vs. Autoit

I'm new to PowerShell although its been on my TODO list to learn for some
time. I'm in an environment right now where Autoit is used for some
scripting and I was wondering if anyone can speak to the differences between
these two scripting environments / tools?

Thanks

Doug Holland


My System SpecsSystem Spec
Old 03-14-2007   #2 (permalink)
Marco Shaw


 
 

Re: PowerShell vs. Autoit


"Doug Holland" <doug.holland@precisionobjects.com> wrote in message
newsFA42265-620A-4C63-9C11-625258772EF7@microsoft.com...
> I'm new to PowerShell although its been on my TODO list to learn for some
> time. I'm in an environment right now where Autoit is used for some
> scripting and I was wondering if anyone can speak to the differences
> between these two scripting environments / tools?


I don't see them as *different* when talking about Autoit as an automation
tool, especially when dealing with GUI automation (automating clicks etc.).

Actually, I'd see them as complimentary. The later versions of Autoit
include AutoitX, which is a COM interface to Autoit. PowerShell can
call/use COM objects, so you may be able to use PowerShell to iterace with
Autoit for GUI automation.

Marco


My System SpecsSystem Spec
Old 03-14-2007   #3 (permalink)
Doug Holland


 
 

Re: PowerShell vs. Autoit

Interesting, thanks.

- Doug

"Marco Shaw" <marcoDOTshaw_@_gmailDOTcom> wrote in message
news:e60vruoZHHA.2316@TK2MSFTNGP04.phx.gbl...
>
> "Doug Holland" <doug.holland@precisionobjects.com> wrote in message
> newsFA42265-620A-4C63-9C11-625258772EF7@microsoft.com...
>> I'm new to PowerShell although its been on my TODO list to learn for some
>> time. I'm in an environment right now where Autoit is used for some
>> scripting and I was wondering if anyone can speak to the differences
>> between these two scripting environments / tools?

>
> I don't see them as *different* when talking about Autoit as an automation
> tool, especially when dealing with GUI automation (automating clicks
> etc.).
>
> Actually, I'd see them as complimentary. The later versions of Autoit
> include AutoitX, which is a COM interface to Autoit. PowerShell can
> call/use COM objects, so you may be able to use PowerShell to iterace with
> Autoit for GUI automation.
>
> Marco
>


My System SpecsSystem Spec
Old 03-14-2007   #4 (permalink)
Marco Shaw


 
 

Re: PowerShell vs. Autoit


"Doug Holland" <doug.holland@precisionobjects.com> wrote in message
news:2B3C8063-7B6F-4677-935C-F743585FBC0B@microsoft.com...
> Interesting, thanks.


Also, I meant in between the lines: Autoit will allow you to do GUI
automation of any kind of app. PowerShell is destined to be the shell
underneath all the GUIs you might see in the future, but that is years
away... So, in the future, you should be able to automate just about any
task using PowerShell, but there's only a few products that can do that
today, as far as I know:
Exchange 2007
Operations Manager 2007 (beta)

Marco


My System SpecsSystem Spec
Old 03-14-2007   #5 (permalink)
Doug Holland


 
 

Re: PowerShell vs. Autoit

Sounds good, I'll plough through the documentation and take PowerShell out
for a 'test drive'.

"Marco Shaw" <marcoDOTshaw_@_gmailDOTcom> wrote in message
news:unVZ%234oZHHA.4552@TK2MSFTNGP05.phx.gbl...
>
> "Doug Holland" <doug.holland@precisionobjects.com> wrote in message
> news:2B3C8063-7B6F-4677-935C-F743585FBC0B@microsoft.com...
>> Interesting, thanks.

>
> Also, I meant in between the lines: Autoit will allow you to do GUI
> automation of any kind of app. PowerShell is destined to be the shell
> underneath all the GUIs you might see in the future, but that is years
> away... So, in the future, you should be able to automate just about any
> task using PowerShell, but there's only a few products that can do that
> today, as far as I know:
> Exchange 2007
> Operations Manager 2007 (beta)
>
> Marco
>


My System SpecsSystem Spec
Old 03-14-2007   #6 (permalink)
William Stacey [C# MVP]


 
 

Re: PowerShell vs. Autoit

AFAICT, the way psh is used by Exchange and opsmgr is by making the cmdlets
the business logic layer. So the UI and console apps both call the *same
cmdlets and can do the same things. But psh is not driving the UI as such,
the UI is calling psh cmdlets. So in that sense, automating a UI becomes
unneeded because you can do everything the UI did in a simple script and
make it repeatable, etc. If you still need to drive a UI, not sure psh
helps much by itself.

--
William Stacey [C# MVP]
PCR concurrency library: www.codeplex.com/pcr
PSH Scripts Project www.codeplex.com/psobject


"Marco Shaw" <marcoDOTshaw_@_gmailDOTcom> wrote in message
news:unVZ%234oZHHA.4552@TK2MSFTNGP05.phx.gbl...
|
| "Doug Holland" <doug.holland@precisionobjects.com> wrote in message
| news:2B3C8063-7B6F-4677-935C-F743585FBC0B@microsoft.com...
| > Interesting, thanks.
|
| Also, I meant in between the lines: Autoit will allow you to do GUI
| automation of any kind of app. PowerShell is destined to be the shell
| underneath all the GUIs you might see in the future, but that is years
| away... So, in the future, you should be able to automate just about any
| task using PowerShell, but there's only a few products that can do that
| today, as far as I know:
| Exchange 2007
| Operations Manager 2007 (beta)
|
| Marco
|
|


My System SpecsSystem Spec
Old 03-14-2007   #7 (permalink)
Marco Shaw


 
 

Re: PowerShell vs. Autoit


"William Stacey [C# MVP]" <william.stacey@gmail.com> wrote in message
news:%23CA18$oZHHA.3628@TK2MSFTNGP02.phx.gbl...
> AFAICT, the way psh is used by Exchange and opsmgr is by making the
> cmdlets
> the business logic layer. So the UI and console apps both call the *same
> cmdlets and can do the same things. But psh is not driving the UI as
> such,
> the UI is calling psh cmdlets. So in that sense, automating a UI becomes
> unneeded because you can do everything the UI did in a simple script and
> make it repeatable, etc. If you still need to drive a UI, not sure psh
> helps much by itself.


Agreed. That's what I meant... Didn't I say that? ;-)

Marco


My System SpecsSystem Spec
Old 03-14-2007   #8 (permalink)
William Stacey [C# MVP]


 
 

Re: PowerShell vs. Autoit

Sorry if I was redundant. Just had to agree.

--
William Stacey [C# MVP]


My System SpecsSystem Spec
Old 03-15-2007   #9 (permalink)
RichS


 
 

Re: PowerShell vs. Autoit

PowerShell will also be included in

Virtual Server Manager
Data Protection Manager V2 - as of beta 2 in early 2007
Microsoft Transporter Suite for Lotus Domino

You can easily use Powershell to admin

SQL 2005 via SMO
IIS 7
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk


"Marco Shaw" wrote:

>
> "Doug Holland" <doug.holland@precisionobjects.com> wrote in message
> news:2B3C8063-7B6F-4677-935C-F743585FBC0B@microsoft.com...
> > Interesting, thanks.

>
> Also, I meant in between the lines: Autoit will allow you to do GUI
> automation of any kind of app. PowerShell is destined to be the shell
> underneath all the GUIs you might see in the future, but that is years
> away... So, in the future, you should be able to automate just about any
> task using PowerShell, but there's only a few products that can do that
> today, as far as I know:
> Exchange 2007
> Operations Manager 2007 (beta)
>
> Marco
>
>
>

My System SpecsSystem Spec
Old 03-15-2007   #10 (permalink)
Rob Campbell


 
 

Re: PowerShell vs. Autoit

I think MMC is going to become "training wheels" for PowerShell.

"William Stacey [C# MVP]" wrote:

> AFAICT, the way psh is used by Exchange and opsmgr is by making the cmdlets
> the business logic layer. So the UI and console apps both call the *same
> cmdlets and can do the same things. But psh is not driving the UI as such,
> the UI is calling psh cmdlets. So in that sense, automating a UI becomes
> unneeded because you can do everything the UI did in a simple script and
> make it repeatable, etc. If you still need to drive a UI, not sure psh
> helps much by itself.
>
> --
> William Stacey [C# MVP]
> PCR concurrency library: www.codeplex.com/pcr
> PSH Scripts Project www.codeplex.com/psobject
>
>
> "Marco Shaw" <marcoDOTshaw_@_gmailDOTcom> wrote in message
> news:unVZ%234oZHHA.4552@TK2MSFTNGP05.phx.gbl...
> |
> | "Doug Holland" <doug.holland@precisionobjects.com> wrote in message
> | news:2B3C8063-7B6F-4677-935C-F743585FBC0B@microsoft.com...
> | > Interesting, thanks.
> |
> | Also, I meant in between the lines: Autoit will allow you to do GUI
> | automation of any kind of app. PowerShell is destined to be the shell
> | underneath all the GUIs you might see in the future, but that is years
> | away... So, in the future, you should be able to automate just about any
> | task using PowerShell, but there's only a few products that can do that
> | today, as far as I know:
> | Exchange 2007
> | Operations Manager 2007 (beta)
> |
> | Marco
> |
> |
>
>
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Equivalent of AutoIT WinActivate method PowerShell
Automating IE with WASP or AutoIT PowerShell
Automating IE with WASP or AutoIT PowerShell
Automatic PowerShell Error Parsing in PowerShell Analyzer and PowerShellPlus PowerShell
PowerShell Leaders Join Forces and offer a pre-release version of PowerShell for 50% off the retail value PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46