Expansion of previous commit.

This commit is contained in:
2025-02-27 21:47:55 +01:00
parent db7ff19bfb
commit a722c024f5
12 changed files with 154 additions and 8 deletions
+8 -1
View File
@@ -84,7 +84,8 @@ So to target for example a mesh/group in MeshCentral called: "Nerthus" do:
---
name: example configuration
group: "Nerthus"
#target_os: "Linux" # <--- according to os_categories.json
#target_os: "Linux" # <--- according to os_categories.json.
powershell: True # <--- this can be important for Windows clients.
variables:
- name: var1
value: "This is the first variable"
@@ -107,6 +108,12 @@ The tasks you want to run should be contained under the `tasks:` with two fields
The name field is for the user of meshbook, to clarify what the following command does in a summary.<br>
The command field actually gets executed on the end-point.<br>
### Windows Client Extra-information:
If you want to launch commands at Windows machines, make sure you have your `os_categories.conf` up-to-date with the correct reported Windows versions.<br>
And then make sure to create compatible commands, see: [windows examples](./examples/windows)<br>
Related is the yaml option: `powershell: True`.
### Granual Operating System filtering:
I have made the program so it can have a filter with the Operating systems. If you have a mixed group, please read: