Console utilities

Important

For console utilities to work, it is recommended to add data to the environment variables for authorization on remote cloud.

For example:

export ipaddr=CLOUD_IP
export domain=CLOUD_DOMAIN
export user=CLOUD_USER
export password=CLOUD_USER_PASSWORD

RemoteApp

Working with the template database

Creating an entry

Command:

ra-client create type type=mstsc template=default ext=rdp os_type=appv

Retrieving entries

Command:

ra-client get type

Editing entries

Command:

ra-client update type id=ID type=NEW_TYPE template=NEW_TEMPLATE ext=NEW_EXT os_type=NEW_TYPE

where ID is identifier of the entry being edited.

Deleting entry

Command:

ra-client delete type id=ID

where ID is identifier of the entry being deleted.

Working with the publication database

Creating an entry

Command:

ra-client create pub type=win configure=windows ext=reg

Retrieving entries

Command:

ra-client get pub

Editing entries

Command:

ra-client update pub id=ID type=NEW_TYPE template=NEW_TEMPLATE ext=NEW_EXT

where ID is identifier of the entry being edited.

Deleting entry

Command:

ra-client delete pub id=ID

where ID is identifier of the entry being deleted.

Working with the applications database

Creating an entry

Command:

ra-client create app name=NAME desc=DESC ico=ICO path=PATH type=TYPE pub=PUB

Retrieving entries

Command:

ra-client get app

Editing entries

Command:

ra-client update app id=ID name=NEW_NAME desc=NEW_DESC ico=NEW_ICO path=NEW_PATH type=NEW_TYPE pub=NEW_PUB

where ID is identifier of the entry being edited.

Deleting entry

Command:

ra-client delete app id=ID

where ID is identifier of the entry being deleted.