GetPIAFLinkModuleDatabaseStatistics Class
- Last UpdatedDec 15, 2025
- 3 minute read
Get the PI Module Database statistics from the PI AF Link or PI Base Subsystem on a PI Data Archive
The Get-PIAFLinkModuleDatabaseStatistics cmdlet gets statistics for the PI Module Database from the PI AF Link Subsystem.
The connection parameter specifies the connection to a PI Data Archive to use.
This cmdlet returns an object that contains both the statistics and configuration information stored by PI Base Subsystem as well as PI AF Link subsystem, and can be accessed via their members. Run "Get-Help Get-PIAFLinkModuleDatabaseStatistics -Examples" for more information.
Inheritance Hierarchy
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellOSICmdletBaseWithConnection
OSIsoft.PowerShellGetPIAFLinkModuleDatabaseStatistics
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)
Syntax
[CmdletAttribute("Get", "PIAFLinkModuleDatabaseStatistics", SupportsShouldProcess = true)] public class GetPIAFLinkModuleDatabaseStatistics : OSICmdletBaseWithConnection
<CmdletAttribute("Get", "PIAFLinkModuleDatabaseStatistics", SupportsShouldProcess := true)> Public Class GetPIAFLinkModuleDatabaseStatistics Inherits OSICmdletBaseWithConnection Dim instance As GetPIAFLinkModuleDatabaseStatistics
[CmdletAttribute(L"Get", L"PIAFLinkModuleDatabaseStatistics", SupportsShouldProcess = true)] public ref class GetPIAFLinkModuleDatabaseStatistics : public OSICmdletBaseWithConnection
[<CmdletAttribute("Get", "PIAFLinkModuleDatabaseStatistics", SupportsShouldProcess = true)>] type GetPIAFLinkModuleDatabaseStatistics = class inherit OSICmdletBaseWithConnection end
The GetPIAFLinkModuleDatabaseStatistics type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| GetPIAFLinkModuleDatabaseStatistics |
Properties
| Name | Description | |
|---|---|---|
| Connection | Connection to a PI Data Archive to use |
Examples
(Get-PIAFLinkModuleDatabaseStatistics -Connection $con).AFLink
Where:
$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"
Gets the Module Database/AF Link statistics and configuration information stored by PI AF Link Subsystem.
Examples
(Get-PIAFLinkModuleDatabaseStatistics -Connection $con).Base
Where:
$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"
Gets the Module Database/AF Link statistics and configuration information stored by PI Base Subsystem.