none
Powershell Command IMPORT-TOPIC does not work. RRS feed

  • Question

  • I'm using a guide that is telling to import a snap-in on a Windows 2012 R2 Server using the following command, but it does not work.

    Import-Topic "C:\Program Files\Microsoft Deployment Toolkit\bin\MicrosoftDeploymentToolkit.psd1"

    New-PSDrive -Name "DS001" -PSProvider MDTProvider -Root "E:\MDTBuildLab"

    Should the command be Import Module ??? or perhaps a "add-pssnapin ????

    Import-Module "C:\Program Files\Microsoft Deployment Toolkit\bin\MicrosoftDeploymentToolkit.psd1"

    New-PSDrive -Name "DS001" -PSProvider MDTProvider -Root "E:\MDTBuildLab"


    Michael Agee

    Thursday, April 28, 2016 2:32 PM

All replies