RES One Automation PowerShell Module

Note: This blogpost is also posted on my personal blog –


When you’re a system administrator and a PowerShell enthusiast a single solution to a problem can result in something big and elaborate. A while ago I was implementing a MDT environment for a customer. I wanted to fill the MDT database with all existing client computers. For that I needed all the clients names and their MAC addresses. Client names weren’t the issue but MAC addresses were a little bit more challenging. I decided to turn to RES One Automation (RES AM) for help. I knew RES AM has the ability to identify agents by their MAC address so it has to store all agent MAC addresses in the datastore. After figuring out how to pry this information from the database I started to wonder what else I could find in there. This resulted in a complete PowerShell module (my first!) for RES One Automation!  Read more

Uninstalling software with RES Automation Manager produces unexpected results.

A customer asked what options are there to uninstall software using RES Automation Manager. In this case he wanted to remove Java 64bit.
I explained how you can uninstall software by using the GUID of the package and how you can read that GUID from a remote server.

Sometime later, the server from which he thought he uninstalled Java 64bit, was no longer responding to Citrix Sessions.
As it turned out, RES Automation Manager did not uninstall the Java 64bit package but removed Citrix HDX TS (retail).

Read more

Telnet with PowerShell with RES Automation Manager

AM_PowerShellToday I want to build an PowerShell script for a customer that will connect via Telnet to a switch to run some commands and log the output. The next step is to be able to schedule this script to run at the beginning and at the end of the working day. The environment for this task is PowerShell 2.0 and RES Automation Manager 2011.

After some Internet searching I found an Get-Telnet PowerShell function that can do what I want. It will connect to the switch, and I can place the commands I want to run in an array or in a text file. I altered the script slightly to meet my needs. I only use the function because I run the script from within RES Automation Manager.

Read more