GetPIArchiveReprocessHistoryCount Class
- Last UpdatedDec 15, 2025
- 3 minute read
Get the total number of archives reprocessed via online archive reprocessing
The Get-PIArchiveReprocessHistoryCount cmdlet gets the total number online archive reprocess requests that were made.
Note that this cmdlet will only return total number of online reprocess requests via online archive reprocessing. Reprocess history for count 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.PowerShellGetPIArchiveReprocessHistoryCount
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)
Syntax
[CmdletAttribute("Get", "PIArchiveReprocessHistoryCount", SupportsShouldProcess = true)] public class GetPIArchiveReprocessHistoryCount : OSICmdletBase
<CmdletAttribute("Get", "PIArchiveReprocessHistoryCount", SupportsShouldProcess := true)> Public Class GetPIArchiveReprocessHistoryCount Inherits OSICmdletBase Dim instance As GetPIArchiveReprocessHistoryCount
[CmdletAttribute(L"Get", L"PIArchiveReprocessHistoryCount", SupportsShouldProcess = true)] public ref class GetPIArchiveReprocessHistoryCount : public OSICmdletBase
[<CmdletAttribute("Get", "PIArchiveReprocessHistoryCount", SupportsShouldProcess = true)>] type GetPIArchiveReprocessHistoryCount = class inherit OSICmdletBase end
The GetPIArchiveReprocessHistoryCount type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| GetPIArchiveReprocessHistoryCount |
Properties
| Name | Description | |
|---|---|---|
| Connection | Connection to a PI Data Archive from which to retrieve total reprocess history count |
Examples
Get-PIArchiveReprocessHistoryCount -Connection (Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1")Gets the total count of archives reprocessed via online archive reprocessing from the "PISRV1" PI Data Archive.
Examples
Get-PIArchiveReprocessHistoryCount -Connection $con
Where:
$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"
Gets the total count of archives reprocessed via online archive reprocessing from the "PISRV1" PI Data Archive.