Archive

You are currently browsing the Log et al – Peter Curd blog archives for November, 2009.

Nov

23

Powershell to run Get-MessageTrackingLog on multiple machines

By pcurd

I have an infrastructure with multiple Exchange 2007 servers and wanted to compile a list of all emails sent by two email addresses. Whilst Get-MessageTrackingLog did what I wanted, it only ran on one server at a time and would only search for one email address.

To get around this I wrote a PowerShell script to run Get-MessageTrackingLog for each sending email address and each computer. This is then combined into one CSV file for transfer to Excel.

$computers = "server1", "server2"
$senders = "Email1@domain.com", "Email2@domain.com"
$outputfile = "C:\output.csv"

$start = "DD/MM/YYYY HH:MM:SS"
$end = "DD/MM/YYYY HH:MM:SS"

$(foreach ($sender in $senders) {
$(foreach ($computer in $computers) {
get-messagetrackinglog -Sender $sender -Start $start -End $end -EventID "RECEIVE" -Server $computer | select Timestamp, @{Name="Recipients";expression={$_.Recipients}}, MessageSubject, Sender

})}) | sort-object -property timestamp | Export-CSV -path $outputfile -notype

Nov

11

Adobe Acrobat 4 on Windows 7

By pcurd

Continuing on from previous posts about Windows 7 compatability with legacy software, a colleague has experimented with Adobe Acrobat 4.

The install was relatively painless, although complaining about the product not being compatible there was only one real problem – Windows 7 does not seem to like the print driver (Adobe PDF) in Adobe Acrobat 4. We tried some simple persuasion but I would guess this is just not compatible.

I have not tried Distiller which is also included in the install.

Once installed, Windows 7 warned that Adobe Acrobat 4 had known issues but it did open. Simple PDFs opened fine and edifying features appeared to work. We use the APIs in Adobe Acrobat 4 but testing them is outside the scope of the first test.

Nov

7

Protected: Chapter 3

By pcurd

This content is password protected. To view it please enter your password below:

Nov

2

Protected: Chapter 2

By pcurd

This content is password protected. To view it please enter your password below:

Nov

1

Protected: Chapter 1

By pcurd

This content is password protected. To view it please enter your password below: