https://github.com/ynlamy/mdt-ws-computername-glpi
From Microsoft Deployment Toolkit's Windows Deployment Wizard, get the computer name from its serial number using a web service installed on a GLPI server
https://github.com/ynlamy/mdt-ws-computername-glpi
computername glpi mdt microsoft-deployment-toolkit
Last synced: 3 months ago
JSON representation
From Microsoft Deployment Toolkit's Windows Deployment Wizard, get the computer name from its serial number using a web service installed on a GLPI server
- Host: GitHub
- URL: https://github.com/ynlamy/mdt-ws-computername-glpi
- Owner: ynlamy
- License: gpl-3.0
- Created: 2023-06-10T05:53:47.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-10T07:31:44.000Z (almost 2 years ago)
- Last Synced: 2025-01-06T13:49:03.250Z (5 months ago)
- Topics: computername, glpi, mdt, microsoft-deployment-toolkit
- Language: PHP
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mdt-ws-computername-glpi
From Microsoft Deployment Toolkit's Windows Deployment Wizard, get the computer name from its serial number using a web service installed on a GLPI server.
This PHP script have been created by Yoann LAMY under the terms of the [GNU General Public License v3](http://www.gnu.org/licenses/gpl.html).

### Installation
In Microsoft Deployment Toolkit, edit the file *\\Control\CustomSettings.ini* to define the web service by specifying its URL (in this example : ``https://glpi.domain.com/``) :
```
[Settings]
Priority=GetComputerName,Default[GetComputerName]
WebService=https://glpi.domain.com/ws_computername.php
Parameters=SerialNumber
Method=GET
OSDComputerName=name
```And copy the PHP script *ws_computername.php* to the root of the GLPI server (in this example : ``https://glpi.domain.com/`` , assuming that the GLPI server is accessible from ``https://glpi.domain.com/glpi/``).