Export of Groups (Software, Procedure or computers)
search cancel

Export of Groups (Software, Procedure or computers)

book

Article ID: 424156

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

How to export the groups : Computers, Software or Procedure ?

Environment

Client Automation - All Versions

Resolution

Attached script export_group.dms is a DMS script which could be used to export a group or all groups into a text file.

This script could be use for following purpose :

  • Export of a Software or all software groups.
  • Export of a Procedure of all procedure groups.
  • Export of a computer or all computer groups.

 

This script export the group(s) in a file with name like : 

GroupType__GroupName.exp

GroupType is SOFT, PROC or COMP
If Group Name = ALLGROUPS is specified, all groups are exported.

This script generates a log under <DSM PATH>\logs\export_group.log

 

The syntax of this script is :

dmscript.exe export_group.dms COMP|SOFT[PROC GroupName|ALLGROUPS [SQLUserName SQLUserPwd]

COMP|SOFT[PROC : Type for group. COMPUTER, SOFTWARE or PROCEDURE
GroupName : Name of the group export. If ALLGROUPS all groups are exported.
SQLUserName SQLUserPwd : Optional. SQL UserName and Password of Domain database. Default is logged User.

Examples :
dmscript.exe export_group.dms COMP GROUP1
dmscript.exe export_group.dms COMP GROUP1 ca_itrm NOT_changedR11
dmscript.exe export_group.dms SOFT Soft_Group1
dmscript.exe export_group.dms PROC Proc_Group1
dmscript.exe export_group.dms SOFT ALLGROUPS

 

 

Examples :

  • Export all Software Groups
    dmscript export_group.dms SOFT ALLGROUPS

The file SOFT__ALLGROUPS.exp is created.


  • Export of Software Group GROUP2
    dmscript export_group.dms SOFT GROUP2

    the file SOFT__GROUP2.exp is created


  • Export of all Procedure Groups
    dmscript export_group.dms PROC ALLGROUPS ca_itrm NOT_changedR11

The file PROC__ALLGROUPS.exp is created

  • Export of Procedure Group PROC1
    dmscript export_group.dms PROC PROC1

    The file PROC__PROC1.exp is created

  • Export of all Computer Groups
    dmscript export_group.dms COMP ALLGROUPS

    The file COMP__ALLGROUPS.exp is created.

     

  • Export of Computer Group "TEST GROUP"

    dmscript export_group.dms COMP "TEST GROUP" ca_itrm NOT_changedR11

    The file COMP__TEST GROUP.exp is created

Additional Information

See this article for a script to import the groups : Import of Groups

Version History :
export_group.dms - Version 1.0 (11 December 2025)

Attachments

export_group.dms get_app