UE-V PowerShell cmdlets fail on a Windows Server 2008 R2 system

Consider the following scenario:

  • You have Windows PowerShell version 2 and .NET Framework 4.0 installed on a computer that is running Microsoft Windows Server 2008 R2.
  • At the command prompt, you run the Get-UevTemplate command from Microsoft User Experience Virtualization (UE-V) to retrieve a list of templates.

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
Microsoft .NET Framework 3.5 SP1 is required for UE-V 1.0.
To resolve this problem, install .NET Framework 3.5 SP1 on the Windows Server 2008 R2 system.
More information
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 2769572 - Last Review: 03/04/2015 02:27:00 - Revision: 1.1

Microsoft User Experience Virtualization

  • kbtshoot KB2769572