mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-27 15:45:53 -05:00
Merge branch 'master' of https://github.com/Ylianst/MeshCentral
This commit is contained in:
commit
205441bdd4
@ -339,7 +339,7 @@ The messenger web application will setup a separate WebRTC connection for audio/
|
||||
|
||||
## Additional Resources
|
||||
|
||||
In addition to this document, there are a growing set of MeshCentral resources at: [https://www.meshcommander.com/meshcentral2.](https://www.meshcommander.com/meshcentral2) This includes an Installer’s documents, a User’s Guide and plenty of YouTube tutorial videos. For developers, it’s best to start on the MeshCentral GitHub repository at:[ https://github.com/Ylianst/MeshCentral.](https://github.com/Ylianst/MeshCentral) If any issues are found, it’s best to create a new issue in GitHub or mail[ ylian.saint-hilaire@intel.com.](mailto:ylian.saint-hilaire@intel.com)
|
||||
In addition to this document, there are a growing set of MeshCentral resources at: [https://www.meshcommander.com/meshcentral2.](https://www.meshcommander.com/meshcentral2) This includes an Installer’s documents, a User’s Guide and plenty of YouTube tutorial videos. For developers, it’s best to start on the MeshCentral GitHub repository at:[ https://github.com/Ylianst/MeshCentral](https://github.com/Ylianst/MeshCentral). If any issues are found, it’s best to create a new issue in GitHub or mail [ylianst@gmail.com](mailto:ylianst@gmail.com)
|
||||
|
||||
## Conclusion
|
||||
|
||||
|
BIN
docs/docs/meshctrl/images/amt_commands.png
Normal file
BIN
docs/docs/meshctrl/images/amt_commands.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
@ -230,24 +230,59 @@ In the next section, we start making use of MeshCtrl to do useful things on the
|
||||
We can start doing useful operations with MeshCtrl. The current list of operations are:
|
||||
|
||||
```
|
||||
ServerInfo - Show server information.
|
||||
UserInfo - Show user information.
|
||||
ListUsers - List user accounts.
|
||||
ListDevices - List devices.
|
||||
ListDeviceGroups - List device groups.
|
||||
ListUsersOfDeviceGroup - List the users in a device group.
|
||||
AddUser - Create a new user account.
|
||||
RemoveUser - Delete a user account.
|
||||
AddDeviceGroup - Create a new device group.
|
||||
RemoveDeviceGroup - Delete a device group.
|
||||
AddUserToDeviceGroup - Add a user to a device group.
|
||||
RemoveUserFromDeviceGroup - Remove a user from a device group.
|
||||
SendInviteEmail - Send an agent install invitation email.
|
||||
Broadcast - Display a message to all online users.
|
||||
edituser
|
||||
listusers
|
||||
listusersessions
|
||||
listdevicegroups
|
||||
listdevices
|
||||
listusersofdevicegroup
|
||||
listevents
|
||||
logintokens
|
||||
serverinfo
|
||||
userinfo
|
||||
adduser
|
||||
removeuser
|
||||
adddevicegroup
|
||||
removedevicegroup
|
||||
editdevicegroup
|
||||
broadcast
|
||||
showevents
|
||||
addusertodevicegroup
|
||||
removeuserfromdevicegroup
|
||||
addusertodevice
|
||||
removeuserfromdevice
|
||||
sendinviteemail
|
||||
generateinvitelink
|
||||
config
|
||||
movetodevicegroup
|
||||
deviceinfo
|
||||
editdevice
|
||||
addusergroup
|
||||
listusergroups
|
||||
removeusergroup
|
||||
runcommand
|
||||
shell
|
||||
upload
|
||||
download
|
||||
deviceopenurl
|
||||
devicemessage
|
||||
devicetoast
|
||||
addtousergroup
|
||||
removefromusergroup
|
||||
removeallusersfromusergroup
|
||||
devicesharing
|
||||
devicepower
|
||||
indexagenterrorlog
|
||||
agentdownload
|
||||
```
|
||||
|
||||
You can get this list by just running MeshCtrl without any argument and can get more information on each action by typing “meshctrl help [action]”
|
||||
|
||||
![example](images/amt_commands.png)
|
||||
|
||||
!!!note
|
||||
Note that when using Intel AMT only (no agent) you can do wake (on) and power off and reset from the group action. MeshCentral should automatically using Intel AMT to perform these actions when you select "Wake-up devices", "Power off devices" or "Reset devices".
|
||||
|
||||
### Gathering information
|
||||
|
||||
The following commands are really easy to use: serverinfo, userinfo, listusers, listdevices, listdevicegroups. They just request information from the server. Note that for these commands, you can optionally use “--json" to receive the response in JSON format. For example, getting the list of users will look like this:
|
||||
@ -256,8 +291,8 @@ The following commands are really easy to use: serverinfo, userinfo, listusers,
|
||||
node meshctrl.js listusers
|
||||
id, name, email
|
||||
---------------
|
||||
"admin", "admin", "ylian.saint-hilaire@intel.com"
|
||||
"joe", "joe", "joe@intel.com"
|
||||
"admin", "admin", "username@domain.com"
|
||||
"joe", "joe", "joe@domain.com"
|
||||
"mytestuser", "MyTestUser", "a@a.com"
|
||||
"test.user", "test.user", "test.user@user.com"
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user