neodesk devices
Als Markdown kopierenGeräte: Liste, Details, Notizen, Tags, Sperren, Verbindungseinstellungen.
Die Befehle stehen hier auf Englisch, so wie die Kommandozeile sie mit neodesk devices --help zeigt. Die Flags, die jeder Befehl kennt, stehen in der Befehlsreferenz.
neodesk devices access-policy
Show who may connect to a device and how.
neodesk devices access-policy <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs device.view; only reads. Calls GET /api/devices/{id}/access-policy.
neodesk devices access-policy-delete
Remove a device's own access policy.
neodesk devices access-policy-delete <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs device.edit; changes something: needs a token with read and write access; deletes or ends something for good, so it asks first unless --yes is given. Calls DELETE /api/devices/{id}/access-policy.
neodesk devices access-policy-set
Set who may connect to a device and how.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk devices access-policy-set <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs device.edit; changes something: needs a token with read and write access. Calls PUT /api/devices/{id}/access-policy.
neodesk devices activity
Show what a device reported about its use (NeoDesk agent).
neodesk devices activity <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs a signed-in account; only reads. Calls GET /api/devices/{id}/activity.
neodesk devices availability
Show when a device was online over a day.
neodesk devices availability <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
| Flag | What it is |
|---|---|
--day DAY |
the day, like 2026-11-23 (default today) |
Needs device.view; only reads. Calls GET /api/devices/{id}/availability.
neodesk devices ban
Ban a device: it can no longer connect.
neodesk devices ban <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
| Flag | What it is |
|---|---|
--reason REASON |
why, for the audit log |
Needs device.ban; changes something: needs a token with read and write access; deletes or ends something for good, so it asks first unless --yes is given. Calls POST /api/devices/{id}/ban.
neodesk devices bulk-delete
Delete several devices at once.
neodesk devices bulk-delete --ids A,B [flags]| Flag | What it is |
|---|---|
--ids A,B |
the device IDs (required) |
Needs device.delete; changes something: needs a token with read and write access; deletes or ends something for good, so it asks first unless --yes is given. Calls POST /api/devices/bulk-delete.
neodesk devices bulk-delete --ids 111111111,222222222 --yesneodesk devices change-id
Give a device a new ID (6 to 16 letters, digits, - and _).
neodesk devices change-id <id> --new-id NEW_ID [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
| Flag | What it is |
|---|---|
--new-id NEW_ID |
the new ID (required) |
Needs device.change_id; changes something: needs a token with read and write access. Calls POST /api/devices/{id}/change-id.
neodesk devices connect-password
Show whether the device's organisation stored a device password (never the password).
neodesk devices connect-password <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs device.connect; only reads. Calls GET /api/devices/{id}/connect-password.
neodesk devices connection-mode
Let a device accept only incoming connections, or both ways again.
neodesk devices connection-mode <id> --mode normal|incoming-only [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
| Flag | What it is |
|---|---|
--mode normal|incoming-only |
normal or incoming-only (required) |
--reason REASON |
why, for the audit log |
Needs device.connection_mode; changes something: needs a token with read and write access. Calls POST /api/devices/{id}/connection-mode.
neodesk devices delete
Delete a device and revoke its tokens. devices restore brings it back.
neodesk devices delete <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs device.delete; changes something: needs a token with read and write access; deletes or ends something for good, so it asks first unless --yes is given. Calls DELETE /api/devices/{id}.
neodesk devices device-token
Issue a new device token for a device (shown once).
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk devices device-token <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs device.edit; changes something: needs a token with read and write access; the answer holds secrets or private content. Calls POST /api/devices/{id}/device-token.
neodesk devices events
Show the newest system events of a device (NeoDesk agent).
neodesk devices events <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
| Flag | What it is |
|---|---|
--limit N |
how many |
Needs a signed-in account; only reads. Calls GET /api/devices/{id}/events.
neodesk devices get
Show one device with all its details.
neodesk devices get <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs device.view; only reads. Calls GET /api/devices/{id}.
neodesk devices get 123456789neodesk devices groups
List the device groups a device is in.
neodesk devices groups <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs device.view; only reads. Calls GET /api/devices/{id}/groups.
neodesk devices groups-set
Replace the manual device groups of a device.
neodesk devices groups-set <id> --group-guids A,B [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
| Flag | What it is |
|---|---|
--group-guids A,B |
the device groups (required) |
Needs device.edit; changes something: needs a token with read and write access. Calls PUT /api/devices/{id}/groups.
neodesk devices list
List devices with their status, folder and groups.
neodesk devices list [flags]| Flag | What it is |
|---|---|
--search SEARCH |
only devices whose ID, name, user or note contains this |
--status online|offline |
only online or offline devices |
--sort-by last_online|id|hostname|created_at|os|version|username|note |
order by this field |
--order asc|desc |
asc or desc |
--include-deleted |
list deleted devices too |
Needs device.view; only reads. Calls GET /api/devices.
neodesk devices list
neodesk devices list --status online --search office
neodesk devices list --jsonneodesk devices processes
List the processes on a device (NeoDesk agent).
neodesk devices processes <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs a signed-in account; only reads. Calls GET /api/devices/{id}/processes.
neodesk devices rename
Set a device's display name.
neodesk devices rename <id> --name NAME [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
| Flag | What it is |
|---|---|
--name NAME |
the display name (required) |
Needs device.edit; changes something: needs a token with read and write access. Calls POST /api/devices/{id}/rename.
neodesk devices restore
Bring back a deleted device.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk devices restore <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs device.delete; changes something: needs a token with read and write access; deletes or ends something for good, so it asks first unless --yes is given. Calls POST /api/devices/{id}/restore.
neodesk devices services
List the services on a device (NeoDesk agent).
neodesk devices services <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs a signed-in account; only reads. Calls GET /api/devices/{id}/services.
neodesk devices sessions
List the remote sessions to a device, newest first.
neodesk devices sessions <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
| Flag | What it is |
|---|---|
--limit N |
how many, 1 to 200 (default 50) |
Needs device.view; only reads. Calls GET /api/devices/{id}/connection-sessions.
neodesk devices signin
Show whether sign-in details are saved for a device, for which account, and who saved them (never the password).
neodesk devices signin <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs device.signin_manage; only reads. Calls GET /api/devices/{id}/signin.
neodesk devices signin-auto
Turn automatic sign-in at the device's lock screen on or off, or set what its sign-in screen asks for.
neodesk devices signin-auto <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
| Flag | What it is |
|---|---|
--auto |
sign in by itself when a session opens on the lock screen |
--form password|name_password |
password: the screen shows the account and asks for its password; name_password: it asks for both |
Needs device.signin_manage; changes something: needs a token with read and write access. Calls PATCH /api/devices/{id}/signin.
neodesk devices signin-clear
Delete the sign-in details saved for a device.
neodesk devices signin-clear <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs device.signin_manage; changes something: needs a token with read and write access; deletes or ends something for good, so it asks first unless --yes is given. Calls DELETE /api/devices/{id}/signin.
neodesk devices signin-set
Save or replace the account name and password the browser viewer types at a device's lock screen (stored encrypted, never shown again).
neodesk devices signin-set <id> --username USERNAME (--password-stdin | --password PASSWORD) [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
| Flag | What it is |
|---|---|
--username USERNAME |
the account: name, DOMAIN\name or name@domain (required) |
--password-stdin |
read the password from standard input (its first line), so it stays out of the command line |
--password PASSWORD |
the account's password; prefer --password-stdin (this or --password-stdin is required) |
--form password|name_password |
what the sign-in screen asks for (default password) |
Needs device.signin_manage; changes something: needs a token with read and write access. Calls PUT /api/devices/{id}/signin.
neodesk devices tags-set
Replace a device's tags.
neodesk devices tags-set <id> --tags A,B [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
| Flag | What it is |
|---|---|
--tags A,B |
the tags (required) |
Needs device.edit; changes something: needs a token with read and write access. Calls PUT /api/devices/{id}/tags.
neodesk devices tags-set 123456789 --tags office,printerneodesk devices telemetry-command
Queue an allowed command for a device's next heartbeat.
neodesk devices telemetry-command <id> --command COMMAND [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
| Flag | What it is |
|---|---|
--command COMMAND |
the command (required) |
--args JSON |
its arguments |
Needs device.edit; changes something: needs a token with read and write access; runs something on a device or the server. Calls POST /api/devices/{id}/telemetry/command.
neodesk devices telemetry-refresh
Ask a device's agent for fresh system details.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk devices telemetry-refresh <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs device.edit; changes something: needs a token with read and write access. Calls POST /api/devices/{id}/telemetry/refresh.
neodesk devices unban
Lift the ban of a device.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk devices unban <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
Needs device.ban; changes something: needs a token with read and write access. Calls POST /api/devices/{id}/unban.
neodesk devices update
Change a device's note, display name or user. Give only what changes.
neodesk devices update <id> [flags]| Argument | What it is |
|---|---|
<id> |
The device ID (see devices list) |
| Flag | What it is |
|---|---|
--note NOTE |
the note |
--display-name DISPLAY_NAME |
the name shown in the console |
--user USER |
the user name |
Needs device.edit; changes something: needs a token with read and write access. Calls PATCH /api/devices/{id}.
neodesk devices update 123456789 --note "Front desk"