Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
UE-V PowerShell cmdlets fail on a Windows Server 2008 R2 system
Article ID: 2769572 - View products that this article applies to.
Consider the following scenario:
In this scenario, you receive the following error message:
Get-UevTemplate : The type initializer for 'Microsoft.Uev.Commands.TemplateHelpers' threw an exception.
At line:1 char:23
+ Get-UevTemplate <<<<
+ CategoryInfo : NotSpecified: (:) [Unregister-UevTemplate], TypeInitializationException
+ FullyQualifiedErrorId : System.TypeInitializationException,Microsoft.Uev.Commands.GetUevTemplateCommand
To resolve this problem, install .NET Framework 3.5 SP1 on the Windows Server 2008 R2 system.
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.