Multiple commands issued at the command line
- Last UpdatedJan 13, 2023
- 1 minute read
- PI System
- PI Server
The piconfig utility can also accept a string of commands from the command line. You might use this to incorporate piconfig commands in another script, such as a batch file or PowerShell script. For example, you can use the following command to export a list of points with their point ID and record number to a file called tags.txt.
C:\PI\adm>piconfig tabl pipoint ostr tag,pointid,recno sele tag=*
output tags.txt ends exit
PIconfig 0 Data lines
6 Command line
0 Records in error...
22168 Records Listed