Microsoft Deployment Toolkit 2012 now comes with a PowerShell module in addition to the PSSnapIn used in previous versions. In earlier versions of PowerShell in order to start using the PowerShell cmdlets for MDT you would have to add the snap-in by running this command:
Add-PSSnapIn Microsoft.BDD.PSSnapIn
Your scripts will still work with this method and it hasn’t been removed. But now the scripts are called by using a Module with this command:
Import-Module “C:\Program Files\Microsoft Deployment Toolkit\Bin\MicrosoftDeploymentToolkit.psd1”
Using Get-Command –Module you can see that there are cmdlets for the new monitoring service.
I’m not sure that this module adds any value as the module would have worked better if deployed to the usual location of C:\Windows\System32\WindowsPowerShell\v1.0\Modules so you wouldn’t need to type the entire path when calling it. You would also be able to discover it like in this example.
I guess I should have spoke up more during the beta testing but I was busy with my new baby. Sorry.
Thanks for the info. When I copy the MDT module and all Microsoft.BDD.PSSnapIn.* files to the PS module folder once, there available with a normal Import-Module MicrosoftDeploymentKit.. Much better than always specifying the path