sdmioutils exportsdpolicy (exporting Android policy information or iOS profile information)
This command exports Android policy or iOS profile information in XML format.
- Organization of this page
Functionality
This command exports Android policy or iOS profile information to the specified file in XML format.
For an environment with multiple JP1/ITDM2 - SDM systems configured, this command enables Android policy or iOS profile created on one smart device manager to be reused on another smart device manager.
Execute this command on the smart device manager.
Format
sdmioutils exportsdpolicy -export export-file-name -name Android-policy-name-or-iOS-profile-name -policytype policy-type[ -s]
Arguments
- -export export-file-name
-
Specify the absolute path (within 259 bytes) of the XML file to export.
- -name Android-policy-name-or-iOS-profile-name
-
Specify an Android policy name or iOS profile name to export.
- -policytype policy-type
-
Specify the type of policy to export.
The following policy types can be specified:
0: iOS profile
1: Android policy
- -s
-
Overwrites the file even if a security policy with the same file name already exists. If this argument is not specified and a security policy with the same file name already exists, an overwrite confirmation message appears. In this case, the system cancels the input or overwrites the file according to the administrator's reply.
Storage location
JP1/ITDM2 - SDM (Smart Device Manager)-installation-folder\mgr\bin
Execution permissions
Administrator permissions (this command is executed from the administrator's console if the Windows UAC function is enabled)
Notes
-
To execute this command, the smart device manager must be running.
-
To execute this command, the database service on the smart device manager must be running.
-
Multiple instances of this command cannot be executed simultaneously.
-
This command cannot be executed simultaneously with any of the following commands:
-
sdmexportdb
-
sdmimportdb
-
Return values
Return value |
Description |
---|---|
0 |
The command finished normally. |
11 |
The format for specifying the command arguments is invalid. Alternatively, the length of the file name specified for the command argument exceeds the upper limit. |
12 |
You do not have the permissions to execute this command. |
13 |
The specified server is not correct, or the operating environment of JP1/ITDM2 - SDM (Smart Device Manager) is invalid. |
14 |
The file does not exist, or you do not have permission to access it. |
15 |
A file access error occurred, or the disk does not have sufficient capacity. |
18 |
Another command is being executed. |
20 |
The specified Android policy or iOS profile does not exist. |
30 |
The database cannot be accessed. |
40 |
Command execution was interrupted. |
150 |
Other error occurred. |
253 |
The service has not started. |
Example
The following shows an example of using the command to export Development Department policy to C:\temp\exportsdpolicy.xml.
sdmioutils exportsdpolicy -export C:\temp\exportsdpolicy.xml -name Development Department policy -policytype 0 -s
Related Topics