SDK
This topic lists the parameters available in the SDK when you run SXS.SDK32.Cmd.exe or SXS.SDK64.Cmd.exe at a command prompt.
Parameter |
Notes |
---|---|
General |
|
-Help |
|
-License <ES server license file> |
The License command must precede all others and must be included in each call to the RunDLL Command interface |
-Address <FQN, NetBIOS or IP of the server> |
Default: 127.0.0.1 If RPC mapper is not used, you must specify the port between brackets as "server[12345]" |
-Username <user name> |
Default: The current Windows credentials are used; you can specify the domain as Domain\Username |
-Password <secret> |
Default: The current Windows credentials are used |
-Config <json config file> |
Default: { "registry":"SOFTWARE\\Ivanti\\API" } |
-RSAPublicKey <RSA public key> |
|
-RSAPrivateKey <RSA private key> |
key pair is mandatory for command OfflinePasswordRecovery |
Health |
|
-Ping |
|
-GetHealth <json output file> |
|
-GetPrivileges <json output file> |
|
Statuses |
|
-GetServerStatuses [<json input file>] <json output file> |
|
-GetClientStatuses [<json input file>] <json output file> |
|
-SetClientStatus <json input file> <json output file> |
|
Domains |
|
-GatherDomainInfo <domain> [<username> <password>] <json output file> |
|
-UpdateDomainInfo <json input file> [full|merge] |
|
-UpdateWorkstationGroups <json input file> |
|
-GetMachines [<json input file>] <json output file> |
|
-GetUsers [<json input file>] <json output file> |
|
Inventory |
|
-GetDevices [<json input file>] <json output file> |
|
-AddDevices <json input file> [<json filters file>] |
|
-UpdateDevices <json input file> |
|
-GetAgentDevices <netbios/fqn> <json output file> |
|
Settings |
|
-SetAgentLogFilter <json input file> |
|
-GetAgentLogFilters <json output file> |
|
-SetCustomFileType <json input file> |
|
-GetCustomFileTypes <json output file> |
|
Policies - Full |
|
-GetPolicies <json filters file> <json policies file> <binary signature file> |
|
-SyncAgents <json input file> |
|
Policies - Options |
|
-SetOption <json input file> [override] |
|
-GetOptions [<json input file>] <json output file> |
|
Policies - Device Permissions |
|
-SetPermission <json input file> [override] |
|
-GetDevicesPermissions [<json input file>] <json output file> |
|
-RemoveDevicesPermissions <json input file> |
|
Policies - Media Permissions |
|
-RegisterMedia <json input file> |
|
-UnregisterMedia <json input file> |
|
-UpdateMediaPermissions <json input file> |
|
-GetOpticalMediaPermissions [<json input file>] <json output file> |
|
-GetEncryptedMediaPermissions [<json input file>] <json output file> |
|
Policies - Out of Band |
|
-PasswordRecovery <json input file> <json output file> |
|
-GenerateOutOfBandPermission <json input file> <json output file> |
|
Activity Logs and Shadow Files |
|
-IngestActivityLogs <json input file> |
|
-GetActivityLogs <json input file> <json output file> |
|
-GetAuditLogs <json input file> <json output file> |
|
-SetShadowLog <shadow file> <json input file> |
|
-GetShadowFile <shadow log id> <output file> |
|
Reporting |
|
-GetReportTemplates [<json input file>] <json output file> |
|
-SetReportTemplate <xml input file> |
|
-RemoveReportTemplate <template name or index> |
|
-ExecuteReportTemplate <template name or index> <json output file> |
|
Encryption |
|
-OfflinePasswordRecovery <security code in base32> <encrypted symmetric key in hexa> <output file> |
|
-BitLockerRecovery <boot volume device id> <json output file> |
|
Support |
|
-GenerateKeyPair <Algorithm Type> <output directory> |
Generates public and private key files named for the algorithm type. Supported types are: RSA2048, ECDSA256, ECDSA384, ECDSA521 |
-GetMaintenanceTicket <json input file> <json output file> |
|
-PurgeDatabase <json input file> |
|
Notification |
|
-GetNotificationStatuses <json output file> |
|
Application Boundary Configuration |
|
-SetAppBoundaryProfile <policy file path> |
Sets a policy file. Example: SXS.SDK64.Cmd.exe -License Your_license_file.lic -SetAppBoundaryProfile OneDrive.policy C:\Temp\OneDrive.policy |
-GetAppBoundaryProfile <policy file path> |
Gets a policy file. Example: SXS.SDK64.Cmd.exe -License Your_license_file.lic -GetAppBoundaryProfile OneDrive.policy C:\Temp\OneDrive.policy |
-GetAppBoundaryProfiles <results file path> |
Gets all policies. Example: SXS.SDK64.Cmd.exe -License Your_license_file.lic -GetAppBoundaryProfiles C:\Temp\policies.json |
-ClearAppBoundaryProfile <profile> |
Removes a policy file. Example: SXS.SDK64.Cmd.exe -License Your_license_file.lic -ClearAppBoundaryProfile OneDrive.policy |