Exchange 2010: Search-Mailbox command not recognized

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.

Prerequisites in IIS for installing the SCOM 2012 Web Console

Web Server (IIS) role with the follow server role services:

Static Content
Default Document
Directory Browsing
HTTP Errors
HTTP Logging
Request Monitor
Request Filtering
Static Content Compression
Web Server (IIS) Support
IIS 6 Metabase Compatibility
Windows Authentication

If you already installed .net 4.0 then you will need to run this command to register IIS with .net 4.0

c:\windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -r

Farm Passphrase reset in SharePoint 2010

Enter at the PowerShell prompt (Start > All Programs > Microsoft SharePoint 2010 Products > SharePoint 2010 Management Shell):

$passphrase = ConvertTo-SecureString -asPlainText -Force
Set-SPPassPhrase -PassPhrase $passphrase -Confirm

(Of course, the password immediately after you close the PowerShell I found … 🙂 )