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

Article ID: 2769572 - View products that this article applies to.
Expand all | Collapse all


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.
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: November 1, 2012 - Revision: 1.0
Applies to
  • Microsoft User Experience Virtualization

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com