Check to see if you have the iFilter installed:
Open Control Panel and type in the search box “Change how windows searches” and click on the link shown:

Select Advanced

Then select the File Types Tab and scroll down to PDF and you will see “Registered iFilter is not found”

Cancel and close out of these screens and goto http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025 and download and install the fix from adobe.
The below will create a TCP/IP printer port using PowerShell:
$server=”servername”
$printerip=”1.1.1.1″
$port = ([WMICLASS]“\\$server\ROOT\cimv2:Win32_TCPIPPrinterPort”).createInstance()
$port.Name=”IP_10.25.128.31″
$port.SNMPEnabled=$false
$port.Protocol=1
$port.HostAddress=$printerip
$port.Put()
$port
To Automate it somewhat you can feed the parameters into it using arguments, you can run the commands using excel and copy into a batch file.
# This script requires 3 paramaters at the command in the form:
# .\CreatePrinterPort.ps1 servername IPAddress PortName
$server=$args[0]
$printerip=$args[1]
$port = ([WMICLASS]“\\$server\ROOT\cimv2:Win32_TCPIPPrinterPort”).createInstance()
$port.Name=$args[2]
$port.SNMPEnabled=$false
$port.Protocol=1
$port.HostAddress=$printerip
$port.Put()
$port
When trying to uninstall Exchange you get the following error:

The component “Microsoft Exchange Messaging and Collaboration Services” cannot be assigned the action “Remove” because:
- One or more users currently use a mailbox store on this server. These users must be moved to a mailbox store on a different server or be mail disabled before uninstalling this server.
To find which users are blocking Exchange removal do the following:
- Start the Active Directory Users and Computers tool. To do this, click Start, point toPrograms, point to Microsoft Exchange, and then click Active Directory Users and Computers.
- In the Active Directory Users and Computers Microsoft Management Console (MMC) snap-in, right-click the domain container, and then click Find.
- In the Find Users, Contacts, and Groups dialog box, click the Exchange tab, click to select the Show only Exchange recipients check box, and then click Find Now.
- On the View menu, click Choose Columns.
- In the Choose Columns dialog box, click Exchange Home Server in the Columns available list, click Add to move this entry to the Columns shown list, and then clickOK.
- Click the Exchange Home Server column to sort the results in the Exchange Home Server column.
- Determine whether the mailbox server appears in the value or values that are listed in the Exchange Home Server column. The server that appears in this column is the same value that appears in the msExchHomeServerName attribute.
I found a few users using this method which I assumed had never logged into outlook. We reset their password and logged in as them fired up outlook, logged into their email and logged out again. Their mailbox then was able to be moved using exchange manager.
To find which users are blocking Exchange removal do the following another way:
Use the LDP tool to search for mailboxes that are on a mailbox store
- Start Ldp.exe.
- Click Connection, and then click Connect.
- Enter the name of a domain controller, and then click OK.
- Click Connection, and then click Bind.
- Enter the user name, the password, and the domain name of an administrative account, and then click OK.
- On the View menu, click Tree.
- Make sure that the Base DN box is blank, and then click OK.
If the Base DN box is not blank, clear its contents, and then click OK.
- Right-click the container that you want to search, such as the CN=Users container, and then click Search.
- Click the Filter box, and then type the following:
(&(objectCategory=person)(objectClass=user)(msExchHomeServerName=/o=ORGANIZATION NAME/ou=ADMINISTRATIVE GROUP NAME/cn=Configuration/cn=Servers/cn=SERVER-NAME-TO-REMOVE))
- Click Subtree, and then click Run.
- When you have identified which users have mailboxes on this store, you can use Active Directory Users and Computers to move the mailboxes to a different store or to delete the user’s mailbox.
Using this method I was able to find a user with a reference to the server who did not appear in the first method but there was no mailbox, and exchange information was incomplete in AD. Using AD Users and Computers I was able to remove exchange attributes for this user using the right click -> Exchange Tasks.