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