Add / Remove OS and Drivers in MDT with PowerShell

Reply A+ A-

You can add and remove Windows and drivers in the Microsoft Deployment Toolkit (MDT) with the tool's GUI. The advantage of using PowerShell for the task is that you can easily adapt your configuration to a new environment.

Adding item in the Deployment Share

Adding items to the Deployment Share can be achieved in three steps.
You start by importing the MicrosoftDeploymentToolkit module. This psd1 file is located in the folder C:\Program Files\Microsoft Deployment Toolkit\bin.
The PowerShell cmdlet used to import this module is import-module.
Then, create a PSDrive that will be mapped to the Deployment Share folder. The PowerShell cmdlet used to create this drive is New-PSDrive.
Once it’s done, the last step is to add your item using a specific cmdlet.
In this article I’ll focus on the cmdlet import-mdtoperatingsystem and import-mdtdriver that will add respectively Operating System and drivers.

series_PSMDT 1011382350248356919

Enregistrer un commentaire

Accueil item


Learn KQL in one month


You want to support me ?

Mes articles en français

Books in French