Sorry, missed that you asked for an example too...  Here's a quickie that would 
show you all the event 1221's, generated today, from a list of computers.

$yesterday = (get-date).AddDays(-1)
$compList = @("computer1", "computer2", "etc")
foreach ($comp in $complist){
      Get-EventLog -computername $comp -logName application -after $yesterday | 
where {$_.eventid -eq 1221} | ft machineneame,timegenerated,message
}

HTH

Joe P

From: Kleciak, Clint D A7IT [mailto:clint.klec...@cigna.com]
Sent: Wednesday, November 11, 2009 8:28 AM
To: MS-Exchange Admin Issues
Subject: White Space Report

Does anyone have any good suggestions or examples on getting White Space Event 
Log reports via PowerShell from multiple Exchange 2007 Servers?

thanks



Confidential, unpublished property of CIGNA. Do not duplicate or distribute. 
Use and distribution limited solely to authorized personnel. (c) Copyright 2009 
CIGNA




------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown. This email 
transmission may contain confidential information. This information is intended 
only for the use of the individual(s) or entity to whom it is intended even if 
addressed incorrectly. Please delete it from your files if you are not the 
intended recipient. Thank you for your compliance. Copyright 2009 CIGNA
==============================================================================

Reply via email to