neodesk resource-control
Copy as MarkdownUSB, disks, monitors and quotas on devices.
neodesk resource-control --help lists the same commands in the terminal. The flags every command takes are in the command reference.
neodesk resource-control compliance
Show which devices follow their resource policy.
neodesk resource-control compliance [flags]Needs server.config; only reads. Calls GET /api/panel/resource-control/compliance.
neodesk resource-control default
Show the default resource policy.
neodesk resource-control default [flags]Needs server.config; only reads. Calls GET /api/panel/resource-control/org-policy.
neodesk resource-control default-set
Change the default resource policy.
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 resource-control default-set [flags]Needs server.config; changes something: needs a token with read and write access. Calls PUT /api/panel/resource-control/org-policy.
neodesk resource-control devices
List devices with their resource policy.
neodesk resource-control devices [flags]Needs server.config; only reads. Calls GET /api/panel/resource-control/devices.
neodesk resource-control disks-set
Set the disk rules 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 resource-control disks-set <deviceId> [flags]| Argument | What it is |
|---|---|
<deviceId> |
The device ID |
Needs server.config; changes something: needs a token with read and write access. Calls POST /api/panel/resource-control/policies/{deviceId}/disks.
neodesk resource-control monitors-set
Set the monitor rules 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 resource-control monitors-set <deviceId> [flags]| Argument | What it is |
|---|---|
<deviceId> |
The device ID |
Needs server.config; changes something: needs a token with read and write access. Calls POST /api/panel/resource-control/policies/{deviceId}/monitors.
neodesk resource-control optical-set
Set the CD and DVD drive rules 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 resource-control optical-set <deviceId> [flags]| Argument | What it is |
|---|---|
<deviceId> |
The device ID |
Needs server.config; changes something: needs a token with read and write access. Calls POST /api/panel/resource-control/policies/{deviceId}/optical.
neodesk resource-control policy
Show a device's resource policy.
neodesk resource-control policy <deviceId> [flags]| Argument | What it is |
|---|---|
<deviceId> |
The device ID |
Needs server.config; only reads. Calls GET /api/panel/resource-control/policies/{deviceId}.
neodesk resource-control quotas-set
Set the quotas 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 resource-control quotas-set <deviceId> [flags]| Argument | What it is |
|---|---|
<deviceId> |
The device ID |
Needs server.config; changes something: needs a token with read and write access. Calls POST /api/panel/resource-control/policies/{deviceId}/quotas.
neodesk resource-control usb-set
Set the USB rules 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 resource-control usb-set <deviceId> [flags]| Argument | What it is |
|---|---|
<deviceId> |
The device ID |
Needs server.config; changes something: needs a token with read and write access. Calls POST /api/panel/resource-control/policies/{deviceId}/usb.