Since we AutoIT have got access the to the .NET Common Language Runtime (CLR) Framework
We can access the PowerShell Automation Classes as well.
This is really powerfull stuff … because we can reuse .NET code as well as all the native CMDlet’s and scripts.
As you can see the script runs an PowerShell command that lists all running processes on your machine. And return the Output to a .NET Grid.
Which runs inside our Unmanaged Host, isn’t that cool …
We can access native .NET Classes as well because PS runs on top off it.
Next is that you could access any kind of Cloud Web Service using the multitude of PS Modules that are available.
As well as accessing Custom Build Assemblies.
How to :
For more information on how to access .NET Classes see the above post about .NET Common Language CLR Framework.
Or Join the most friendly and helpful AutoIT Community on the net
I will post some more examples and How To’s later on, so stay tuned …