Solved

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

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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

696 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