?
Solved

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

Posted on 2013-05-31
7
Medium Priority
?
2,888 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Need protection from advanced malware attacks?

Look no further than WatchGuard's Total Security Suite, providing defense in depth against today's most headlining attacks like Petya 2.0 and WannaCry. Keep your organization out of the news with protection from known and unknown threats.

Question has a verified solution.

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

In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
I don't pretend to be an expert at this, but I have found a few things that are useful. I hope that sharing them here will help others, so they will not have to face some rather hard choices. Since I felt this to be a topic of enough importance and…
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…
In this video we show how to create a mailbox database 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 >> Data…
Suggested Courses
Course of the Month8 days, 18 hours left to enroll

764 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