AnsweredAssumed Answered

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.

Question asked by tjrobin on Oct 16, 2015
Latest reply on Oct 16, 2015 by tjrobin

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.

 

 

Outcomes