Add MeshCentral – zmiana domeny/adresu
43
MeshCentral-%E2%80%93-zmiana-domeny%2Fadresu.md
Normal file
43
MeshCentral-%E2%80%93-zmiana-domeny%2Fadresu.md
Normal file
@@ -0,0 +1,43 @@
|
||||
## Link do MeshCentral generowany jest w `ps_command` danego pola, np.:
|
||||
|
||||
```json
|
||||
"_snipeit_mechcentral_29": {
|
||||
"name": "MeshCentral",
|
||||
"enabled": true,
|
||||
"ps_command": "$nodeId = (Get-ItemProperty 'HKLM:\\SOFTWARE\\Open Source\\Mesh Agent' -ErrorAction SilentlyContinue).NodeId; if (-not $nodeId) { 'Brak' } else { \"https://meshcentral.example.org/?viewmode=10&gotonode=$nodeId\" }"
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
----------
|
||||
|
||||
### Aby zmienić domenę:
|
||||
|
||||
Zmień fragment:
|
||||
|
||||
```text
|
||||
https://meshcentral.example.org/
|
||||
|
||||
```
|
||||
|
||||
na swoją domenę, np.:
|
||||
|
||||
```text
|
||||
https://mesh.example.com/
|
||||
|
||||
```
|
||||
|
||||
----------
|
||||
|
||||
### Na co uważać:
|
||||
|
||||
- musi być poprawny protokół (`https://`)
|
||||
|
||||
- NodeId musi być dostępny w rejestrze:
|
||||
|
||||
```
|
||||
HKLM:\SOFTWARE\Open Source\Mesh Agent
|
||||
|
||||
```
|
||||
|
||||
- jeśli agent MeshCentral nie jest zainstalowany → zwróci `"Brak"`
|
||||
Reference in New Issue
Block a user