neodesk companion
Copy as MarkdownNeoDesk Companion: releases, templates, installer files and the silent install.
neodesk companion --help lists the same commands in the terminal. The flags every command takes are in the command reference.
Show whether new NeoDesk Companion releases are imported automatically, and which versions Companions run.
neodesk companion auto-import [flags]Needs enrollment.manage; only reads. Calls GET /api/companion-releases/auto-import.
Pause or resume the automatic import of NeoDesk Companion releases.
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 companion auto-import-set [flags]Needs enrollment.manage; changes something: needs a token with read and write access. Calls PUT /api/companion-releases/auto-import.
List the NeoDesk Companion installer files this server serves.
neodesk companion installers [flags]Needs a signed-in account; only reads. Calls GET /api/portal/installers.
Show whether NeoDesk Companion releases are signed and checked.
neodesk companion release-signing [flags]Needs enrollment.manage; only reads. Calls GET /api/companion-releases/signing-status.
List the NeoDesk Companion releases this server keeps.
neodesk companion releases [flags]Needs enrollment.manage; only reads. Calls GET /api/companion-releases.
Fetch the newest NeoDesk Companion release from GitHub.
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 companion releases-sync [flags]Needs enrollment.manage; changes something: needs a token with read and write access. Calls POST /api/companion-releases/sync.
Show Companion update groups, signed release pins, and device results.
neodesk companion rollout [flags]Needs enrollment.manage; only reads. Calls GET /api/companion-releases/rollout.
Assign a Companion, pin a signed release, promote Pilot, or authorize a rollback.
Requires an administrator. Supply the action and its parameters as a JSON body.
neodesk companion rollout-set [flags]Needs enrollment.manage; changes something: needs a token with read and write access. Calls PUT /api/companion-releases/rollout.
Download the NeoDesk Companion MSI with an install.cmd for this server as a zip (use --output).
neodesk companion silent-installer (--enrollment-token-stdin | --enrollment-token ENROLLMENT_TOKEN) [flags]| Flag | What it is |
|---|---|
--enrollment-token-stdin |
read the enrollment token from standard input (its first line), so it stays out of the command line |
--enrollment-token ENROLLMENT_TOKEN |
the enrollment token the computer joins with (this or --enrollment-token-stdin is required) |
--group N |
the folder id the computer goes into; the token's own folder wins |
--arch ARCH |
x86_64 (the default) or aarch64 |
Needs enrollment.manage; changes something: needs a token with read and write access; the answer holds secrets or private content. Calls POST /api/panel/companion/installer.
neodesk companion silent-installer --enrollment-token-stdin --group 12 --output neodesk-companion.zipShow the values of a silent install of NeoDesk Companion and the MSI it uses.
neodesk companion silent-setup [flags]Needs enrollment.manage; only reads. Calls GET /api/panel/companion/setup.
Make a Companion template: settings new Companions start with.
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 companion template-create [flags]Needs enrollment.manage; changes something: needs a token with read and write access. Calls POST /api/companion-templates.
Delete a Companion template; its enrollment token stops working.
neodesk companion template-delete <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs enrollment.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/companion-templates/{id}.
List Companion templates.
neodesk companion templates [flags]Needs enrollment.manage; only reads. Calls GET /api/companion-templates.