msib7
 New Member Posts:12

 |
| 12 Jul 2010 03:09 AM |
|
I think I'm missing something simple here...I read a number of articles that say to load the exchange management snapin to powershell I should run:
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin
This just returns an error:
AddSnapin: The Windows PowerShell snap-in 'Microsoft.Exchange.Management.PowerShell.Admin' is not installed on this machine.
I've also tried 'get-pssnapin' and 'get-pssnapin - registered' but no mention of Microsoft.Exchange.Management.PowerShell.Admin
Is this snapin something I have to download and install? Any info would be great.
Many thanks Mehds
|
|
|
|
|
Shay Levy PowerShell MVP, Admin
 Veteran Member Posts:1362

 |
|
msib7
 New Member Posts:12

 |
| 12 Jul 2010 05:24 AM |
|
Thanks for the link....is there not one thats compatible with Exchange 2003? |
|
|
|
|
Marco Shaw
 Veteran Member Posts:1684

 |
| 12 Jul 2010 05:40 AM |
|
No, this functionality is not available for Exchange 2003. PowerShell support was only added as of Exchange 2007. You can however use PowerShell to manage Exchange 2003, but must use something like WMI to interact with Exchange. |
|
|
|
|
Karl Mitschke
 Basic Member Posts:467

 |
|
Marco Shaw
 Veteran Member Posts:1684

 |
| 12 Jul 2010 05:59 AM |
|
Yes, PowerGUI will help with automation. It uses WMI under the covers for Exchange 2003... |
|
|
|
|
msib7
 New Member Posts:12

 |
| 12 Jul 2010 08:54 AM |
|
Many thanks Karl and Marco for the links and advice, I'm having a play with the Exchange 2003 Power Pack now. |
|
|
|
|
kvr
 New Member Posts:1

 |
|
Tanmay
 New Member Posts:2

 |
| 03 Sep 2010 01:15 AM |
|
Hi friends when I run Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin on exchange server 2007 cmd shell it say it is already ready registered and it is so because it is already registered on ps1.0 well I want it to be registered on PS2.0 Please help me Thanks in advance |
|
|
|
|
isdadmin
 New Member Posts:2

 |
| 20 Jul 2011 04:56 PM |
|
I am running exchange 2010
and trying to use TSM for Mail to backup.
when i open the TSM Gui
i get the error The Windows PowerShell snap-in 'Microsoft.Exchange.Management.PowerShell.Admin' is not installed on this machine.
How do i download and install? |
|
|
|
|
Marco Shaw
 Veteran Member Posts:1684

 |
| 20 Jul 2011 05:14 PM |
|
You have to get the entire Exchange 2010 install ISO image and install only the administration tools. PS You should start a new thread if you have questions. |
|
|
|
|
isdadmin
 New Member Posts:2

 |
| 20 Jul 2011 05:45 PM |
|
i already have the tools installed.. |
|
|
|
|
Karl Mitschke
 Basic Member Posts:467

 |
|
James
 New Member Posts:1

 |
| 08 Dec 2011 11:52 AM |
|
Never mind, found the error, wrong instance was being called (x86).
|
|
|
|
|
Karl Mitschke
 Basic Member Posts:467

 |
|
Saurabh
 New Member Posts:3

 |
| 18 Sep 2012 03:04 AM |
|
I am also getting the same error The Windows PowerShell snap-in 'Microsoft.Exchange.Management.PowerShell.Admin' is not installed on this machine. when trying to run command Add-PSSnapin Microsoft.Exchange.Management.Powershell.Setup I have Exchange 2010 server and management tools are installed. Please help. Thanks. |
|
|
|
|
Karl Mitschke
 Basic Member Posts:467

 |
| 18 Sep 2012 06:14 AM |
|
See my post from 21 July 2011 - there is NO snap-in named "Microsoft.Exchange.Management.PowerShell.Admin" provided with Exchange 2010. Search (BING or Google) Remote Exchange 2010 Management... Karl |
|
http://unlockpowershell.wordpress.com
Co-Author, Windows PowerShell 2.0 Bible
-join("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"}) |
|
|
Karl Mitschke
 Basic Member Posts:467

 |
| 18 Sep 2012 06:21 AM |
|
You should also pay attention to the important announcement on the top of the page :) Also, while I am at it, since you have the Exchange Management tools loaded, why not use the Exchange Management Shell? Karl |
|
http://unlockpowershell.wordpress.com
Co-Author, Windows PowerShell 2.0 Bible
-join("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"}) |
|
|
Saurabh
 New Member Posts:3

 |
| 21 Sep 2012 05:58 AM |
|
Hi Karl, Thanks for your reply. :) It was a typo in my last post. I didn't mean "Admin Snap-in", actually I am looking for "Setup Snap-in". I have to install few performance counters from Exchange setup but for which first I need to load Microsoft.Exchange.Management.Powershell.Setup snap-in. But whenever I am trying to run Add-PSSnapin command I am getting error saying "Add-PSSnapin : The Windows PowerShell snap-in 'Microsoft.Exchange.Management.Powershell.setup' is not installed on this machine." . I checked same command on another server having same configuration and same role where it runs successfully. When I check both servers by running command Get-PSSnapin -Registered I received three snapin on second machine which includes "Setup" snapin while the affected machine returns just two and "Setup" snapin is missing. Please help as I am lost from here :( Thanks in Advance. |
|
|
|
|
Saurabh
 New Member Posts:3

 |
| 21 Sep 2012 05:59 AM |
|
Just to add on I have Exchange Poershell 1.0 installed on servers. Thanks. |
|
|
|
|