dsconfig batch files can be added to the dsconfig directory. These files, each of which must include a .dsconfig extension, contain dsconfig commands to apply to the server.
dsconfig batch files in the server profile can't make changes to any topology configuration, including topology admin users and server instances. You should make topology configuration changes outside of the server profile.
Because the dsconfig batch files are ordered lexicographically, 00-base.dsconfig runs before 01-second.dsconfig, and so on.
To produce a dsconfig batch file that reproduces the current configuration, run bin/config-diff.