none
Get-MailboxDatabaseCopyStatus

    Question

  • Hi

    i am trying to run the above command for 2010 on an admin machine. It works on the local mbx and cas/hub.

    but will not run on the admin machine  admin machine is as the correct patch level with the correct rollup level. Bit stumped

    Thanks in advance

    Tuesday, February 19, 2013 2:20 PM

Answers

  • What exact Exchange level permissions does the  account running these commands have? This still smells like permissions and I don't think you have answered that yet. 


    Twitter!:

    • Marked as answer by pavbahia Wednesday, February 20, 2013 5:17 PM
    Wednesday, February 20, 2013 3:59 PM
    Moderator

All replies

  • Does this work?

    Get-MailboxDatabaseCopyStatus -Server MBX


    OM (MCITP) | Blog

    Tuesday, February 19, 2013 2:23 PM
  • no its not coming up a s recognised cmdlet its like bits of the powershell were not installed

    Tuesday, February 19, 2013 2:34 PM
  • What is the OS machine? and have you installed the Powershell 2.0?
    Tuesday, February 19, 2013 2:45 PM
  • Are you running the Exchange Management Shell or from Windows Powershell?

    Jason Apt, Microsoft Certified Master | Exchange 2010 My Blog

    Tuesday, February 19, 2013 3:10 PM
  • yes powershell verion 2 and yes i have the exchange mngmt shell running

    Exchange version 14.01..339.001

    powershell version 2.0

    machine is windows 2008 sp1

    the cmdlet does not appear to be installed

    

    

    

    Tuesday, February 19, 2013 3:51 PM
  • The error messages is the standard

    the term get-mailboxdatabsecopystatus is not recognised.

    Tuesday, February 19, 2013 3:53 PM
  • When you open Exchange Powershell on the workstation, Run it "As Administrator"

    Then type in get-m and then hit the tab key to scroll through the available commands. What do you see?

    If you have the correct PS running and the correct Exchange permissions to run those commands, you should see them as you tab them out.


    Twitter!:

    Tuesday, February 19, 2013 3:55 PM
    Moderator
  • It is run as administrator

    the product and file version match the exchange server

    Exchange version match = 14.01.0339.001

    powershell version match on admin machine and exchange server version

    2 0 -1 -1

    but get-mailboxdatabasecopystatus is not available in the cmdlet list

    Tuesday, February 19, 2013 5:08 PM
  • Did you try the suggestion in the link provided by OM?

    Karl


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer



    My Blog: http://unlockpowershell.wordpress.com
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"})

    Tuesday, February 19, 2013 5:36 PM
  • Sorry Karl

    yes i tried that as well

    Wednesday, February 20, 2013 10:10 AM
  • What does the following return:

    Get-Excommand get-mail*

    Karl

    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer



    My Blog: http://unlockpowershell.wordpress.com
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"})

    Wednesday, February 20, 2013 2:47 PM
  • Hi Karl

    It brings back

    get-mailbox

    CommandType     Name                                                Definition
    -----------     ----                                                ----------
    Function        Get-Mailbox                                         ...
    Function        Get-MailboxAutoReplyConfiguration                   ...
    Function        Get-MailboxCalendarConfiguration                    ...
    Function        Get-MailboxCalendarFolder                           ...
    Function        Get-MailboxDatabase                                 ...
    Function        Get-MailboxFolder                                   ...
    Function        Get-MailboxFolderPermission                         ...
    Function        Get-MailboxJunkEmailConfiguration                   ...
    Function        Get-MailboxMessageConfiguration                     ...
    Function        Get-MailboxRegionalConfiguration                    ...
    Function        Get-MailboxServer                                   ...
    Function        Get-MailboxSpellingConfiguration                    ...
    Function        Get-MailboxStatistics                               ...
    Function        Get-MailPublicFolder                                ...
    Function        Get-MailUser                                        ...

    Wednesday, February 20, 2013 3:55 PM
  • What exact Exchange level permissions does the  account running these commands have? This still smells like permissions and I don't think you have answered that yet. 


    Twitter!:

    • Marked as answer by pavbahia Wednesday, February 20, 2013 5:17 PM
    Wednesday, February 20, 2013 3:59 PM
    Moderator
  • Hi Andy

    you were correct i doubled checked all the groups and discovered someone from the unhelpfull desk had removed the acct from the groups it had been added to as they had not read the CR that was raised.

    What a waste of time :-(

    Wednesday, February 20, 2013 5:19 PM