0
Closed

run command against a CSV list of systems

J41232131 2 years ago updated 2 years ago 6

would be a nice to be able to run a remote command against a list of systems.  we have 100+ systems in a CSV and having to check each one individually in the dashboard is silly

Answer

Answer

Unfortunately, your scenario would not work out of the box. If the machines had a note or some other common field they could be grouped and then you could execute the command. 
That said, this may be possible with a custom extension and if it's something you will be doing often, it may be worth your time to create one, here are details on that program:

Create a private extension - ConnectWise

requests for a developer license must be sent to ctrlpm@connectwise.com.

-1
Closed

Hi there,

This functionality already exists and is outlined here:
Run a command from the Host page - ConnectWise, you can multi-select machines, right click and choose Run Command or select Run Command from the session details column.

To make this easier you could put all of the machines in a session group and then do a Select All.

Also, how do I unclose a case?  this is not the answer

yeah, that doesn't work in this case.  having to manually select machines when you have over 100 (in this case, 230ish out of 2000), is not efficient.  being able to query a list of systems and running the command for each would be much simpler.  powershell can do an import-csv and then a foreach command, we need something similar here

even putting all of the machines into a session group doesn't work unless we can somehow import the list to create the session group

Answer

Unfortunately, your scenario would not work out of the box. If the machines had a note or some other common field they could be grouped and then you could execute the command. 
That said, this may be possible with a custom extension and if it's something you will be doing often, it may be worth your time to create one, here are details on that program:

Create a private extension - ConnectWise

requests for a developer license must be sent to ctrlpm@connectwise.com.

that probably won't work either, since a custom field would need to be updated and we'd have to find a way to update that en masse depending on conditions.  too bad.  even being able to import a list by system name into a session group would work