Question: the term search-mailbox is not recognized exchange 2010?
Answer: This problem happens because your account is not a member of the Discovery Management role. Since your account does not have permission to perform searches, Powershell does not import the Search-Mailbox cmdlet. In ECP , add the account to this role, then close and restart your Powershell session.