Written September 15, 2015
Updating the Connection Manager for a list of Scriptrock Nodes using Powershell v3.0+
In my last post, we looked at how to get our list of nodes from our Scriptrock appliance. Now let’s take our collection of nodes, and using Powershell’s list filtering and selecting capabilities, we can put that data to good work. Here is the original node select script:
In the following simple example we will iterate the list of nodes, filter for operating_system_family_id and then update each node’s connection_manager_group_id: