I am creating a new Orion environment for our company. Once I have the new environment working and configured, I will then be able to decommision our old Orion environment. The new environment is running on Windows Server 2008 R2. I have installed the Exchange 2007 SP3 Rollup7 for the management console. Everytime I run any Exchange Powershell script, the monitor just keeps polling forever. I have the monitor set for Local mode. I have it set for 64 bit under Advanced. The assigned credentials have Domain Admin rights. If I take the same script and run it under Powershell 2.0 on the new server, it works without errors or issues using the same credentials. As the monitor polls, it generates an error in the servers Application Event Log. Below is one of the scripts that I have used, but it does the same thing with the pre-built powershell scripts:
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin;
$result = @();
$result = Get-SendConnector "Internet SMTP Connector" -DomainController "DC.domain.com";
if ($result.Enabled)
{
Write-Host "Message: Internet SMTP Connecter is enabled.";
Write-Host "Statistic: 0";
Exit 0;
}
else
{
Write-Host "Message: Internet SMTP Connecter is not enabled.";
Write-Host "Statistic: 1";
Exit 1;
}
Below is the error in the Event Log:
Log Name: Application
Source: MSExchange Common
Date: 6/27/2012 11:46:52 AM
Event ID: 4999
Task Category: (1)
Level: Error
Keywords: Classic
User: N/A
Computer: SERVER.domain.com
Description:
Watson report about to be sent to dw20.exe for process id: 5152, with parameters: E12, c-buddy-RTL-AMD64, 08.03.0083.006, SWJobEngineWorker2x64, M.E.D.Directory, M.E.D.D.ConnectionPoolManager.BlockImpersonatedCallers, M.E.Common.FailFastException, 16b8, 08.03.0264.000. ErrorReportingEnabled: False
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchange Common" />
<EventID Qualifiers="16388">4999</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-06-27T18:46:52.000000000Z" />
<EventRecordID>14141</EventRecordID>
<Channel>Application</Channel>
<Computer>SERVER.domain.com</Computer>
<Security />
</System>
<EventData>
<Data>5152</Data>
<Data>E12</Data>
<Data>c-buddy-RTL-AMD64</Data>
<Data>08.03.0083.006</Data>
<Data>SWJobEngineWorker2x64</Data>
<Data>M.E.D.Directory</Data>
<Data>M.E.D.D.ConnectionPoolManager.BlockImpersonatedCallers</Data>
<Data>M.E.Common.FailFastException</Data>
<Data>16b8</Data>
<Data>08.03.0264.000</Data>
<Data>False</Data>
</EventData>
</Event>
Any help would be appreciated.