5 Replies Latest reply on Oct 16, 2015 2:54 PM by tjrobin

    Using the older version of PI Tools for Powershell I had a script that filtered the PI Message logs for a certain mask, worked beautifully.  I uploaded the latest and Get-PIMessage no longer filters the message log.


      I am using the following code snippet:


      $currentServer = Get-PIDataArchiveConnectionConfiguration -name $piServer | Connect-PIDataArchive

      $piLogMessages = Get-PIMessage -startTime "-1D" -EndTime "*" -Message "*" -Connection $currentServer


      $piLogMessages is always empty. btw:  I have tried many different formats of startTime, Endtime and Message.