Unicon documentation migration is in progress. You might find some broken links or experience minor issues in the documentation. We are working on resolving these issues.

X

Delete and Create commands

Deleting devices

Requires 
The devices to be deleted are listed in a text file [File].
Each line of [File] contains one device specified by the MAC address or host name (optionally including the OU). Example
[Device1]
[Europe/Germany/Karlsruhe/Device2]
[0018077C413]
  • Run the program with the following syntax: :

[scmd -u[ser] [Username ]-p[assword] [Password ][-d[omain] [Domain]] –deletedevices [File]]

Alternatively, use the following syntax:

[scmd -u[ser] [Username ]-p[assword] [Password ][-d[omain] [Domain]] –delete -devicelist [File]]

Deleting OUs

Requires
The OUs to be deleted are listed in a text file [File].
Each line of [File] contains one OU ID. Example
[10]
[11]
[12]
  • Run the program with the following syntax:

[scmd -u[ser] [Username] -p[assword] [Password ][-d[omain] [Domain]] –delete -oulist [File]]

Renaming OUs

Requires 
The OUs to be renamed are listed in a text file [File].
Each line of [File] contains an OU ID, a comma as separator and the new OU name. Example: [302],[KA_2]
  • Run the program with the following syntax:

[scmd -u[ser] [Username] -p[assword] [Password ][-d[omain] [Domain]] –rename -oulist [File]]

Creating OUs

Requires 
The OUs to be created are listed in a text file [File].
Each line of [File] contains an OU ID, a comma as separator and an OU name with path. Example
[1000],[Europe/Germany/MA]
[0],[Europe/Germany/FR] (If OU-ID=[0], the new ID is created by the system.)
  • Run the program with the following syntax:

[scmd -u[ser] [Username ]-p[assword] [Password ][-d[omain] [Domain]] –create -oulist [File]]

To create devices in their infrastructure, import a device list provided in a text file.For further information, see [Importing devices (/en-us/unicon-elux-scout/admin_guides/scmd/scmd_commands/scmd_import_devices.html).

Delete and Create commands