MDT 2012 with Server 2012 PowerShell – Initialization Error
While attempting to install the Microsoft Deployment Toolkit 2012 on Server 2012 I ran into an issue where it does not recognize PowerShell is installed. By default PowerShell v3 is installed with Server 2012.
The reason I was seeing this was because of the following validation exception:
File H:\Program Files\Microsoft Deployment Toolkit\bin\Microsoft.BDD.PSSnapIn.Types.ps1xml cannot be loaded because the execution of scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170..
To help resolve this I first ran a Get-ExecutionPolicy
Next I ran a get-ExecutionPolicy – list
Finally I ran a set-ExecutionPolicy RemoteSigned –Scope CurrentUser
Re-launch the Deployment Workbench