Hi,
Setting up a web interface for MDT deployment can streamline your process significantly. Here's a high-level overview of how you can achieve this:
- Develop a web form using HTML and a server-side scripting language like PHP, ASP.NET, or Python. This form will collect the necessary details (Location, Model, SerialNumber, and Computer Name).
- Use the web form to submit the collected data to a backend script. This script will then interact with MDT to initiate the deployment process. You can use PowerShell scripts to automate the interaction with MDT.
- Write a PowerShell script that takes the input parameters from the web form and uses them to create a new computer entry in the MDT database. This script can also trigger the deployment task sequence.
Here's a basic example of how you might structure the PowerShell script:
param (
[string]$Location,
[string]$Model,
[string]$SerialNumber,
[string]$ComputerName
)
# Import the MDT module
Import-Module "C:\Program Files\Microsoft Deployment Toolkit\Bin\MicrosoftDeploymentToolkit.psd1"
# Create a new computer entry in MDT
New-MDTComputer -Location $Location -Model $Model -SerialNumber $SerialNumber -ComputerName $ComputerName
# Start the deployment task sequence
Start-MDTDeployment -ComputerName $ComputerName
Here is a sample for your reference:
Sample MDT 2013 Web Service
https://www.microsoft.com/en-us/download/details.aspx?id=42516