Search the docs
Menu
Updated Edit on GitHub

neodesk companion

Copy as Markdown

NeoDesk 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.

neodesk companion auto-import

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.

neodesk companion auto-import-set

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.

neodesk companion installers

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.

neodesk companion release-signing

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.

neodesk companion releases

List the NeoDesk Companion releases this server keeps.

neodesk companion releases [flags]

Needs enrollment.manage; only reads. Calls GET /api/companion-releases.

neodesk companion releases-sync

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.

neodesk companion rollout

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.

neodesk companion rollout-set

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.

neodesk companion silent-installer

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.zip

neodesk companion silent-setup

Show 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.

neodesk companion template-create

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.

neodesk companion template-delete

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}.

neodesk companion templates

List Companion templates.

neodesk companion templates [flags]

Needs enrollment.manage; only reads. Calls GET /api/companion-templates.

Type to search pages, sections, commands and settings.