Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Powershell

AddPIValue Properties

  • Last UpdatedDec 15, 2025
  • 3 minute read
AddPIValue Properties

The AddPIValue type exposes the following members.

Properties

  NameDescription
Public property
Buffer

Write the value or values through PI Buffer Subsystem. If an unsupported version of buffering is being used, or buffering is not installed, an error will be returned.

Public property
Connection

Specifies which connection to the PI Data Archive to use.

(Overrides OSICmdletBaseWithConnectionConnection.)
Public property
IsQuestionable

Specify if the value or values should have the Questionable bit set

Public property
PIPoint

PIPoint object or PIPoint object of PI Point to write to

Public property
PointId

The PointID or PointIDs of the PI Point(s) to write to

Public property
PointName

The name or names of the PI Point(s) to write to

Public property
Stream

Stream object or Stream objects of PI Point to write to

Public property
Time

Time or times to write at

Public property
UseSystemState

Specify if the value or values should use the SYSTEM digital state when writing.

Public property
Value

Value or values to write

Public property
WriteMode

WriteMode or WriteModes to use when writing a value/values. If not specified, "Append" is the default. Valid options are:

NoReplace : Add unless event(s) exist at same time

Append : Add event, regardless of existing events

Replace : Add event, replace if event at same time

ReplaceX : Replace existing event, fail if not event at time

Remove : Remove existing event

AppendX : Same as append with no compression; that is, if this is the snapshot, force into archive

See Also

TitleResults for “How to create a CRG?”Also Available in