Create DSM group via csv import
search cancel

Create DSM group via csv import

book

Article ID: 116935

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

How to add computers from .csv file to DSM Groups.

Environment

CA Client Automation - All Versions
 

 

Resolution

By Default, the option to populate computers from .csv file into DSM group is not available in the current release of CA Client Automation but as a workaround, we can use this script :
____________________________________________________
$computers = @() 
$computers += gc "D:\CASource\Scripts\GroupAddition\list_of_computers.csv" 

foreach ($computer in $computers) { 
cadsmcmd compGroup action=add name=NewComputersGroup computer=$computer

____________________________________________________

* list_of_computers.csv (used as an example)
* Change 'NewComputersGroup' with the name of the group you would like to add (used as an example).