Command-line interface for administrative tasks
You can use the eShareAdmin.exe tool of the eShare server to perform various administrative tasks from the command line. Typically the tool is located in \Program Files\Cadmatic\eShareAdminTools\eShareAdmin\.
Run the tool without any options or parameters to display usage instructions:
eShareAdmin
Run the tool with the required option and parameters to perform a task:
eShareAdmin <option> <parameters>
The tool supports the following options and parameters.
Examples
To run a command, you need to know the URI of the CADMATIC eShare server. In the examples below the server address and port is localhost:81.
-
List all projects in a given eShare server:
eShareAdmin -p http://localhost:81
-
Update the 3D model of a project by uploading a model file:
eShareAdmin -u http://localhost:81 MyProject MyModel.ebm
-
Import users from a domain group:
eShareAdmin -g http://localhost:81 "My_Domain\My Group"
-
Import users from a domain group to an eShare user group by the same name, and add the user group (not the individual users) to a project:
eShareAdmin -g -c http://localhost:81 "My_Domain\My Group" MyProject
-
Synchronizes AD groups to eShare groups:
eShareAdmin -g -s http://localhost:81 "MyDomain\My Group" MyProject
-
Supplies the Azure Active Directory (AD) token:
eShareAdmin -p http://localhost:81 -t <token>