Using Invoke-AMTGUI to control multiple clients

The invoke-AMTGUI cmdlet in the 3.1 Intel PowerShell module lets you directly control a single client by passing in its name or typeing it once the GUI is loaded.

Type Invoke-AMTGUI <computer name/ip> -credential <your credentials>

So I invoke the GUI, type in the client IP address and get the power state:

single client.png


But what about more?

So I add a comma and then type in another computer address and then get the power state of them both:

two clients.png

Hey! That works great.

BUT. And there usually is one...what if I wanted to type in ten computers? Technically that does work ...but... I don't want to type that much, and again and again each time I invoke the GUI.

Easy solution? Sure...I made a comma delimited text file and I cut and paste from it. It worked. ...but... That is inelegant and tedious.

PowerShell is great for these kinds of tasks though - I'll just pass the comma delimited text file in!

So I made a comma delimited file called computers.txt and here is the contents:,,,

And now I use get-content to pass that into Invoke-AMTGUI:

Type Get-Content .computers.txt | Invoke-AMTGUI -credential <your credentials>

calling invoke-amtgui.png

Now all the systems appear (you might not be able to read them all) and I get the power state:

multiple clients.png

I included the cmdline generated from Invoke-AMTGUI as well:

multiple clients cmdline.png

And just to confirm they are real systems I powered off two (yes I typed the Ip addreses in):

powered off two.png

And lets check the status:

status of all.png