AnsweredAssumed Answered

How to Add-PlValue to multiple tags for multiple time stamps using an input file in powersscript

Question asked by DivyaSV on Jan 23, 2018
Latest reply on Jan 23, 2018 by kduffy

Hi All,

 

Am trying to add a value to number of tags using an input file.

Currently am using below script for adding values for few tags.

 

$conn = Connect-PIDataArchive -PIDataArchiveMachineName 'Servername'

$pt = Add-PIValue -PointName sinusoid,sinusoid -Time '20-jan-2018 02:15:00','20-jan-2018 02:18:30' -Value 100,101 -WriteMode Append -Connection $conn

 

Is it possible to add-PIValues using input file.

Can anyone help me in this.

 

Regards,

Divya

Outcomes