AnsweredAssumed Answered

PIPoint Values in CSV format in PowerShell

Question asked by Raja3206 on Jan 23, 2019
Latest reply on Jan 25, 2019 by Raja3206

Hi Guys,


I have a .csv like below and trying to get their associated PI tags and values.



I want the output to be something like below:



Below script(incomplete) doesn't work as i expect:


$PICon = Connect-PIDataArchive -PIDataArchiveMachineName '-' -AuthenticationMethod Trust

Import-Csv -path ".\simpletest1.csv" |

Get-PIPoint -WhereClause InstrumentTag:$_.instrumentTag -Connection $PICon


Thanks !