Skip to content

Commit

Permalink
Merge pull request #446 from microsoft/dev
Browse files Browse the repository at this point in the history
MDTDB Location fix
  • Loading branch information
Jaromir Kaspar authored Jun 30, 2021
2 parents d46003b + 6c10ee4 commit fbc4846
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Scenarios/AzSHCI and MDT/Scenario.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,10 @@ foreach ($event in $events){

#region add deploy info to AD Object and MDT Database

#download and unzip mdtdb
Start-BitsTransfer -Source https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/5209/00/00/03/24/15/04/MDTDB.zip -Destination $env:USERPROFILE\Downloads\MDTDB.zip
#download and unzip mdtdb (blog available in web.archive only https://web.archive.org/web/20190421025144/https://blogs.technet.microsoft.com/mniehaus/2009/05/14/manipulating-the-microsoft-deployment-toolkit-database-using-powershell/)
#Start-BitsTransfer -Source https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/5209/00/00/03/24/15/04/MDTDB.zip -Destination $env:USERPROFILE\Downloads\MDTDB.zip
Start-BitsTransfer -Source https://github.com/microsoft/MSLab/raw/master/Scenarios/AzSHCI%20and%20MDT/MDTDB.zip -Destination $env:USERPROFILE\Downloads\MDTDB.zip

Expand-Archive -Path $env:USERPROFILE\Downloads\MDTDB.zip -DestinationPath $env:USERPROFILE\Downloads\MDTDB\
Import-Module $env:USERPROFILE\Downloads\MDTDB\MDTDB.psm1
#Connect to DB
Expand Down

0 comments on commit fbc4846

Please sign in to comment.