Solved

The Windows PowerShell snap-in 'Microsoft.Exchange.Management.PowerShell.E2013' is not installed on this machine

Posted on 2013-05-31
7
2,607 Views
Last Modified: 2014-09-30
I've got a new installation of Exchange 2013 that is in production.  I'm writing a C# application to perform some basic tasks, but every time it runs, I get the error:

The Windows PowerShell snap-in 'Microsoft.Exchange.Management.PowerShell.E2013' is not installed on this machine

I've done some research online, and a few forums suggest that this module should have been added during the installation of Exchange Tools.  I did not perform the installation myself, but in any case, it's not there.  Does anyone know where to find this module, and how to install it?  

note: the C# app works in previous versions of Exchange.  The only part that has changed is the snap-in.  From "Microsoft.Exchange.Management.PowerShell.Admin" to "Microsoft.Exchange.Management.PowerShell.E2013"
0
Comment
Question by:swp3h60
  • 3
  • 2
7 Comments
 
LVL 40

Expert Comment

by:Subsun
ID: 39211934
Is Exchange 2013 management tools installed on the server?

If yes run Get-PSSnapin and see if you are able to view the Snapin for exchange 2013
0
 

Author Comment

by:swp3h60
ID: 39211937
This is what is returned by that command.

Name        : Microsoft.PowerShell.Core
PSVersion   : 3.0
Description : This Windows PowerShell snap-in contains cmdlets used to manage components of Windows PowerShell.
0
 
LVL 40

Expert Comment

by:Subsun
ID: 39211947
What is the result of Get-PSSnapin -Registered
0
 

Author Comment

by:swp3h60
ID: 39211955
Name        : EnginePSSnapin
PSVersion   : 2.0
Description : Register cmdlets for Content Engine

Name        : HostControllerPSSnapIn
PSVersion   : 2.0
Description : Register cmdlets for Host Controller

Name        : InteractionEnginePSSnapIn
PSVersion   : 2.0
Description : Register cmdlets for InteractionEngine

Name        : JunoPSSnapin
PSVersion   : 2.0
Description : Register cmdlets for Juno

Name        : Microsoft.Exchange.Management.PowerShell.E2010
PSVersion   : 1.0
Description : Admin Tasks for the Exchange Server

Name        : Microsoft.Exchange.Management.PowerShell.Setup
PSVersion   : 1.0
Description : Setup Tasks for the Exchange Server

Name        : Microsoft.Exchange.Management.PowerShell.SnapIn
PSVersion   : 1.0
Description : Admin Tasks for the Exchange Server

Name        : Microsoft.Exchange.Management.Powershell.Support
PSVersion   : 1.0
Description : Support Tasks for the Exchange Server

Name        : Microsoft.Forefront.Filtering.Management.PowerShell
PSVersion   : 2.0
Description : Microsoft Forefront Filtering PowerShell Interface

Name        : SearchCorePSSnapIn
PSVersion   : 2.0
Description : Register cmdlets for SearchCore


The one that jumps out is Microsoft.Exchange.Management.PowerShell.E2010, but if I try to use that one it throws a different error.  Something about a newer runtime being loaded.
0
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points
ID: 39212018
Microsoft.Exchange.Management.PowerShell.E2010 is a the SnapIn foe Exchange 2010. Are you checking on the server where Exch 2013 installed?

If yes.. I don't see any SnapIn for Ex 2013, probably the management tools are not installed properly.. Did you check it?
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
A brief introduction to what I consider to be the best editor for PowerShell.
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question