GetPIArchiveReprocessHistory Class
- Last UpdatedDec 15, 2025
- 3 minute read
Get the history of archives reprocessed via online archive reprocessing
The Get-PIArchiveReprocessHistory cmdlet gets the history of finished online archive reprocess requests that were made. The history returned can be filtered by count, start/end time, or name of archive file.
Note that this cmdlet will only return reprocess history for archives reprocessed via online archive reprocessing. Reprocess history for archives reprocessed via the offline piarchss.exe tool is not available.
The connection parameter specifies which connection to a PI Data Archive to use.
Inheritance Hierarchy
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellGetPIArchiveReprocessHistory
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)
Syntax
[CmdletAttribute("Get", "PIArchiveReprocessHistory", SupportsShouldProcess = true)] public class GetPIArchiveReprocessHistory : OSICmdletBase
<CmdletAttribute("Get", "PIArchiveReprocessHistory", SupportsShouldProcess := true)> Public Class GetPIArchiveReprocessHistory Inherits OSICmdletBase Dim instance As GetPIArchiveReprocessHistory
[CmdletAttribute(L"Get", L"PIArchiveReprocessHistory", SupportsShouldProcess = true)] public ref class GetPIArchiveReprocessHistory : public OSICmdletBase
[<CmdletAttribute("Get", "PIArchiveReprocessHistory", SupportsShouldProcess = true)>] type GetPIArchiveReprocessHistory = class inherit OSICmdletBase end
The GetPIArchiveReprocessHistory type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| GetPIArchiveReprocessHistory |
Properties
| Name | Description | |
|---|---|---|
| Connection | Connection to a PI Data Archive from which to retrieve reprocess history | |
| Count | Maximum number of history records to return | |
| EndTime | End time for which to return archive reprocess history | |
| Name | Name of the archive to return | |
| StartTime | Start time for which to return archive reprocess history |
Examples
Get-PIArchiveReprocessHistory -Connection (Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1")Gets the entire archive reprocessing history from the "PISRV1" PI Data Archive.
Examples
Get-PIArchiveReprocessHistory -StartTime (ConvertFrom-AFRelativeTime *-1mo) -EndTime (ConvertFrom-AFRelativeTime *) -Connection $conWhere:
$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"
Gets the archive reprocessing history from the "PISRV1" PI Data Archive for the last month.