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

PI Powershell

GetPIAFLinkBatchDatabaseStatistics Class

  • Last UpdatedDec 15, 2025
  • 2 minute read
GetPIAFLinkBatchDatabaseStatistics Class

Get the Batch Database statistics from the AF Link Subsystem on a PI Data Archive

The Get-PIAFLinkBatchDatabaseStatistics cmdlet gets the Batch Database statistics from the AF Link Subsystem. This information is used when performing a migration from Batch Database to Event Frames.

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

Inheritance Hierarchy

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

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

Syntax

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

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

The GetPIAFLinkBatchDatabaseStatistics type exposes the following members.

Constructors

Properties

Examples

Get-PIAFLinkBatchDatabaseStatistics -Connection $con

Where:

$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"

Gets the PI Batch Database statistics from the PI AF Link Subsystem. This information can be used to monitor a PI Batch Database to Event Frames Migration.

See Also

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