GetPIDataArchiveIncidentUpdate Class
- Last UpdatedDec 15, 2025
- 3 minute read
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.
Inheritance Hierarchy
SystemObject
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellGetPIDataArchiveIncidentUpdate
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellGetPIDataArchiveIncidentUpdate
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)
Syntax
[CmdletAttribute("Get", "PIDataArchiveIncidentUpdate", SupportsShouldProcess = true)] public class GetPIDataArchiveIncidentUpdate : OSICmdletBase
<CmdletAttribute("Get", "PIDataArchiveIncidentUpdate", SupportsShouldProcess := true)> Public Class GetPIDataArchiveIncidentUpdate Inherits OSICmdletBase Dim instance As GetPIDataArchiveIncidentUpdate
[CmdletAttribute(L"Get", L"PIDataArchiveIncidentUpdate", SupportsShouldProcess = true)] public ref class GetPIDataArchiveIncidentUpdate : public OSICmdletBase
[<CmdletAttribute("Get", "PIDataArchiveIncidentUpdate", SupportsShouldProcess = true)>] type GetPIDataArchiveIncidentUpdate = class inherit OSICmdletBase end
The GetPIDataArchiveIncidentUpdate type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| GetPIDataArchiveIncidentUpdate |
Properties
| Name | Description | |
|---|---|---|
| Connection | Connection to a PI Data Archive from which to clear the PI Incident | |
| 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.