GetPIBufferVersion Class
- Last UpdatedDec 15, 2025
- 3 minute read
Get the PI Buffer Subsystem version
The Get-PIBufferVersion cmdlet gets the version of the PI Buffer Subsystem running on the local machine. This cmdlet can only be directly run on the local instance of PI Buffer Subsystem.
This cmdlet can be run against remote PI Buffer Susbsystem instances by leveraging PowerShell Remoting.
Inheritance Hierarchy
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellGetPIBufferVersion
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)
Syntax
[CmdletAttribute("Get", "PIBufferVersion", SupportsShouldProcess = true)] public class GetPIBufferVersion : OSICmdletBase
<CmdletAttribute("Get", "PIBufferVersion", SupportsShouldProcess := true)> Public Class GetPIBufferVersion Inherits OSICmdletBase Dim instance As GetPIBufferVersion
[CmdletAttribute(L"Get", L"PIBufferVersion", SupportsShouldProcess = true)] public ref class GetPIBufferVersion : public OSICmdletBase
[<CmdletAttribute("Get", "PIBufferVersion", SupportsShouldProcess = true)>] type GetPIBufferVersion = class inherit OSICmdletBase end
The GetPIBufferVersion type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| GetPIBufferVersion |
Examples
Get-PIBufferVersion
Gets the version of the PI Buffer Subsystem running on the local machine.
Examples
Invoke-Command -ComputerName PISRV1 -ScriptBlock { Get-PIBufferVersion }Get the PI Buffer Subsystem version running on the PISRV1 machine. Note the use of Invoke-Command. Failure of this example to execute properly is likely not an issue with Get-PIBufferVersion, but with the network or PS connection to the remote computer. Note that the OSIsoft.PowerShell module must be installed on the remote computer as well for this to work.
Examples
Invoke-Command -ComputerName PISRV1,PIAF1,PIINT1,PIINT2 -ScriptBlock { Get-PIBufferVersion }Get the PI Buffer Subsystem version running on the PISRV1, PIAF1, PIINT1, and PIINT2 machines. Note the use of Invoke-Command. Failure of this example to execute properly is likely not an issue with Get-PIBufferVersion, but with the network or PS connection to the remote computer. Note that the OSIsoft.PowerShell module must be installed on the remote computer as well for this to work.