header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
Adding the Exchange Management Powershell Snapin
Last Post 08 Dec 2011 01:14 PM by Karl Mitschke. 14 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
msib7User is Offline
New Member
New Member
Posts:12
Avatar

--
12 Jul 2010 04: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 LevyUser is Offline
    PowerShell MVP, Admin
    Veteran Member
    Veteran Member
    Posts:1362
    Avatar

    --
    12 Jul 2010 04:27 AM
    You need to download and install the Microsoft Exchange Server 2007 Management Tools (32-Bit):

    http://www.microsoft.com/downloads/...laylang=en

    Shay Levy
    Windows PowerShell MVP
    http://PowerShay.com
    PowerShell Community Toolbar
    Twitter: @ShayLevy
    msib7User is Offline
    New Member
    New Member
    Posts:12
    Avatar

    --
    12 Jul 2010 06:24 AM
    Thanks for the link....is there not one thats compatible with Exchange 2003?
    Marco Shaw (MVP)User is Offline
    Veteran Member
    Veteran Member
    Posts:1643
    Avatar

    --
    12 Jul 2010 06: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.
    Marco

    *Microsoft MVP - Windows PowerShell
    https://mvp.support.microsoft.com/profile/Marco.Shaw
    *Co-Author - Sams Windows PowerShell Unleashed 2nd Edition
    *Blog - http://marcoshaw.blogspot.com
    Karl MitschkeUser is Offline
    Basic Member
    Basic Member
    Posts:451
    Avatar

    --
    12 Jul 2010 06:58 AM
    You can download the free PowerGUI:
    http://powergui.org/index.jspa

    And, add the PowerGUI Exchange 2003 Power Pack:
    http://www.powergui.org/entry.jspa?...egoryID=47

    Karl
    http://unlockpowershell.wordpress.com
    Co-Author, Windows PowerShell 2.0 Bible
    -join("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"})
    Marco Shaw (MVP)User is Offline
    Veteran Member
    Veteran Member
    Posts:1643
    Avatar

    --
    12 Jul 2010 06:59 AM
    Yes, PowerGUI will help with automation. It uses WMI under the covers for Exchange 2003...
    Marco

    *Microsoft MVP - Windows PowerShell
    https://mvp.support.microsoft.com/profile/Marco.Shaw
    *Co-Author - Sams Windows PowerShell Unleashed 2nd Edition
    *Blog - http://marcoshaw.blogspot.com
    msib7User is Offline
    New Member
    New Member
    Posts:12
    Avatar

    --
    12 Jul 2010 09:54 AM
    Many thanks Karl and Marco for the links and advice, I'm having a play with the Exchange 2003 Power Pack now.
    kvrUser is Offline
    New Member
    New Member
    Posts:1
    Avatar

    --
    25 Aug 2010 11:24 PM


    TanmayUser is Offline
    New Member
    New Member
    Posts:2
    Avatar

    --
    03 Sep 2010 02: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
    isdadminUser is Offline
    New Member
    New Member
    Posts:2
    Avatar

    --
    20 Jul 2011 05: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 (MVP)User is Offline
    Veteran Member
    Veteran Member
    Posts:1643
    Avatar

    --
    20 Jul 2011 06: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.
    Marco

    *Microsoft MVP - Windows PowerShell
    https://mvp.support.microsoft.com/profile/Marco.Shaw
    *Co-Author - Sams Windows PowerShell Unleashed 2nd Edition
    *Blog - http://marcoshaw.blogspot.com
    isdadminUser is Offline
    New Member
    New Member
    Posts:2
    Avatar

    --
    20 Jul 2011 06:45 PM
    i already have the tools installed..
    Karl MitschkeUser is Offline
    Basic Member
    Basic Member
    Posts:451
    Avatar

    --
    21 Jul 2011 07:47 AM
    Exchange 2010 does not provide a snap-in named 'Microsoft.Exchange.Management.PowerShell.Admin'.
    Exchange 2010 provides the "Microsoft.Exchange.Management.PowerShell.E2010" and "Microsoft.Exchange.Management.Powershell.Support" snap-ins.

    See if this helps:
    http://tsmclinic.blogspot.com/2010/...ge_22.html

    I'd really talk to IBM and see about getting a working backup soloution though.... Or see what their support says

    Karl
    http://unlockpowershell.wordpress.com
    Co-Author, Windows PowerShell 2.0 Bible
    -join("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"})
    JamesUser is Offline
    New Member
    New Member
    Posts:1
    Avatar

    --
    08 Dec 2011 12:52 PM
    Never mind, found the error, wrong instance was being called (x86).
    Karl MitschkeUser is Offline
    Basic Member
    Basic Member
    Posts:451
    Avatar

    --
    08 Dec 2011 01:14 PM
    The 64 bit tools are installed from the Exchange 2007 DVD or .ISO file.

    Note that you need to be running Exchange Server 2007 SP3 or better to have the tools supported on Windows 7....

    Karl
    http://unlockpowershell.wordpress.com
    Co-Author, Windows PowerShell 2.0 Bible
    -join("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"})
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer