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

PI Powershell

GetPIPointClass Class

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

Get a PI Point Class from a PI Data Archive

The Get-PIPointClass cmdlet gets a PI Point Class from a PI Data Archive. The point class object contains the default values for each PIPoint attribute for the given PI Point Class.

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

Inheritance Hierarchy

SystemObject
  InternalCommand
    Cmdlet
      PSCmdlet
        OSIsoft.PowerShellOSICmdletBase
          OSIsoft.PowerShellGetPIPointClass

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

Syntax

[CmdletAttribute("Get", "PIPointClass", SupportsShouldProcess = true)]
public class GetPIPointClass : OSICmdletBase
<CmdletAttribute("Get", "PIPointClass", SupportsShouldProcess := true)>
Public Class GetPIPointClass
	Inherits OSICmdletBase

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

The GetPIPointClass type exposes the following members.

Constructors

  NameDescription
Public method
GetPIPointClass

Properties

  NameDescription
Public property
Connection

Connection to a PI Data Archive to use

Public property
Name

Name of the PI Point Class to get

Examples

Get-PIPointClass -Name "Classic" -Connection $con

Where:

$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"

Gets the PI Point Class "Classic" from the "PISRV1" PI Data Archive server.

Examples

(Get-PIPointClass -Name "Totalizer" -Connection $con).Value

Where:

$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"

Gets the default PIPoint attributes and attribute values for the PI Point Class "Totalizer" from the "PISRV1" PI Data Archive server.

See Also

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