Solved

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

Posted on 2013-05-31
7
2,497 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

A brief introduction to what I consider to be the best editor for PowerShell.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create a Distribution Group 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 Recipients >>…
In this video we show how to create an email address policy 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 Mail Flow…

863 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now