MDM command docs (#15803)

- Fix typo. `fleetctl mdm run-command` expects `--hosts`
This commit is contained in:
Noah Talerman 2024-01-03 17:58:49 -05:00 committed by GitHub
parent 6dc9d2f6f0
commit ef75a0131e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,9 +65,9 @@ To run a command, we need to specify a target host by hostname.
### Step 3: Run the command
1. Run the `fleetctl mdm run-command --payload=restart-device.xml --host=hostname ` command.
1. Run the `fleetctl mdm run-command --payload=restart-device.xml --hosts=hostname ` command.
> Replace the --payload and --host flags with your XML file and hostname respectively.
> Replace the --payload and --hosts flags with your XML file and hostname respectively.
2. Look at the on-screen information. In the output you'll see the command to see results.