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

PI Powershell

GetPIBufferVersion Class

  • Last UpdatedDec 15, 2025
  • 3 minute read
GetPIBufferVersion Class

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

SystemObject
  InternalCommand
    Cmdlet
      PSCmdlet
        OSIsoft.PowerShellOSICmdletBase
          OSIsoft.PowerShellGetPIBufferVersion

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

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

  NameDescription
Public method
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.

See Also

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