I just run this PowerShell script:  (note:  the get-eventlog line is all one 
line.)

param
  (
  [Parameter(Mandatory=$True)]
  [string]$Computername
 )

$PastDate = [DateTime]::Now.AddDays(-30)

get-eventlog -ComputerName $Computername -LogName system -after $PastDate | 
Where-Object {(($_.eventid -like "1001") -or  ($_.eventid -like "1000") -or  
($_.eventid -like "1002") ) -and ($_.source -like "*antimal*")} |  
Select-Object TimeGenerated, EntryType, Source, EventID, UserName, Message | 
out-gridview

Thanks,
Ken ...

From: [email protected] [mailto:[email protected]] On 
Behalf Of Marcum, John
Sent: Monday, November 17, 2014 11:38 AM
To: SMS List ([email protected])
Subject: [mssms] List of All SCEP Scans for a Given Machine

Does anyone have a report (or know where in the database I can find) a list of 
all scans within the past xx days and the results of the scan for a given 
computer?




________________________________
        John Marcum
            MCITP, MCTS, MCSA
              Desktop Architect
   Bradley Arant Boult Cummings LLP
________________________________

  [H_Logo]


________________________________

Confidentiality Notice: This e-mail is from a law firm and may be protected by 
the attorney-client or work product privileges. If you have received this 
message in error, please notify the sender by replying to this e-mail and then 
delete it from your computer.




Reply via email to