Client Automation - All Versions
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 :
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 :
The file SOFT__ALLGROUPS.exp is created.
The file PROC__ALLGROUPS.exp is created
Export of all Computer Groups
dmscript export_group.dms COMP ALLGROUPS
The file COMP__ALLGROUPS.exp is created.
See this article for a script to import the groups : Import of Groups
Version History :
export_group.dms - Version 1.0 (11 December 2025)