From fc8c4c3966a61aeacb13f6cd19c9e047b5c1486b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20=C5=BBbikowski?= Date: Thu, 2 Apr 2026 14:10:51 +0200 Subject: [PATCH] =?UTF-8?q?Add=20MeshCentral=20=E2=80=93=20zmiana=20domeny?= =?UTF-8?q?/adresu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...entral-%E2%80%93-zmiana-domeny%2Fadresu.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 MeshCentral-%E2%80%93-zmiana-domeny%2Fadresu.md diff --git a/MeshCentral-%E2%80%93-zmiana-domeny%2Fadresu.md b/MeshCentral-%E2%80%93-zmiana-domeny%2Fadresu.md new file mode 100644 index 0000000..18a68f9 --- /dev/null +++ b/MeshCentral-%E2%80%93-zmiana-domeny%2Fadresu.md @@ -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"` \ No newline at end of file