Symantec Access Management

Expand all | Collapse all

XPSSweeper Log Email

Jump to Best Answer
  • 1.  XPSSweeper Log Email

    Posted 01-15-2016 03:50 PM

    Does anyone have a script that either (a) emails them the XPSSweeper Log after each scheduled sweep, or (b) a script that checks the most recent log for a WARNING or ERROR and sends an email alert?

  • 2.  Re: XPSSweeper Log Email

    Posted 01-18-2016 07:05 AM

    This is an off topic discussion not really SSO issue.

    This thread could be useful for what you are looking:

  • 3.  Re: XPSSweeper Log Email
    Best Answer

    Posted 01-28-2016 01:54 PM

    Use this PowerShell Script and run it as a Scheduled Task.


    cd "%PROGRAM FILES%\CA\siteminder\log"

    $log = Get-ChildItem XPSSweep* | Where{$_.LastWriteTime -gt (Get-Date).AddDays(-1)}

    Send-MailMessage -To -Subject "[prod]XPS Sweeper Daily Report" -Body "Please check for [WARN] or [ERROR] messages in the policy store." -SmtpServer -From -Attachments $log

  • 4.  Re: XPSSweeper Log Email

    Posted 01-28-2016 11:27 PM

    Thank you for sharing.