Skip to content

Update MDT Server

Pavel Andreev edited this page May 5, 2018 · 9 revisions

Before first update set the PowerShellGallery as trusted repository:

Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
  • Remove current DSC configuration:
Remove-DscConfigurationDocument -Stage Current
  • Update module from PowerShell Gallery:
Update-Module -Name cMDTBuildLab -Verbose
  • Uninstall old module versions:
    $Latest = Get-InstalledModule
    foreach ($module in $Latest) {
        Get-InstalledModule $module.Name -AllVersions | ? {$_.Version -ne $module.Version} | Uninstall-Module -Verbose
    }
  • Close deployment share MDTBuildLab at MDT console
  • Remove E:\MDTBuildLab folder
  • Remove any old versions of prerequisites at E:\Source (ADK, MDT, etc). Follow up the Version History for actual changes
  • Run DSC configuration script for build new MDT share
Clone this wiki locally