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

PI Powershell

GetPIDataArchiveIncidentUpdate Class

  • Last UpdatedDec 15, 2025
  • 3 minute read
GetPIDataArchiveIncidentUpdate Class

Note: This API is now obsolete.

Get PI Data Archive Incidents that were updated since a specified time

The Get-PIDataArchiveIncidentUpdate cmdlet will retrieve PI Data Archive Incidents on a PI Data Archive that have been updated since a specified time.

The connection parameter specifies which connection to a PI Data Archive to use.

WARNING: This feature is deprecated and will throw an exception against PI Data Archive 2024 and later versions.

Inheritance Hierarchy

SystemObject
  InternalCommand
    Cmdlet
      PSCmdlet
        OSIsoft.PowerShellOSICmdletBase
          OSIsoft.PowerShellOSICmdletBaseWithConnection
            OSIsoft.PowerShellGetPIDataArchiveIncidentUpdate

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)

Syntax

[CmdletAttribute("Get", "PIDataArchiveIncidentUpdate", SupportsShouldProcess = true)]
[ObsoleteAttribute]
public class GetPIDataArchiveIncidentUpdate : OSICmdletBaseWithConnection
<CmdletAttribute("Get", "PIDataArchiveIncidentUpdate", SupportsShouldProcess := true)>
<ObsoleteAttribute>
Public Class GetPIDataArchiveIncidentUpdate
	Inherits OSICmdletBaseWithConnection

Dim instance As GetPIDataArchiveIncidentUpdate
[CmdletAttribute(L"Get", L"PIDataArchiveIncidentUpdate", SupportsShouldProcess = true)]
[ObsoleteAttribute]
public ref class GetPIDataArchiveIncidentUpdate : public OSICmdletBaseWithConnection
[<CmdletAttribute("Get", "PIDataArchiveIncidentUpdate", SupportsShouldProcess = true)>]
[<ObsoleteAttribute>]
type GetPIDataArchiveIncidentUpdate =  
    class
        inherit OSICmdletBaseWithConnection
    end

The GetPIDataArchiveIncidentUpdate type exposes the following members.

Constructors

Properties

  NameDescription
Public property
Connection

Connection to a PI Data Archive from which to clear the PI Incident

(Overrides OSICmdletBaseWithConnectionConnection.)
Public property
UpdateTime

The time which the incidents must have been updated since in order to be returned

Examples

Get-PIDataArchiveIncidentUpdate -Connection $con -UpdateTime (ConvertFrom-AFRelativeTime -RelativeTime *-5d)

Where:

$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"

This example will get PI Incidents on the "PISRV1" PI Data Archive that have been updated in the last 5 days.

See Also

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