GetPIPointClass Class
- Last UpdatedDec 15, 2025
- 3 minute read
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
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
| Name | Description | |
|---|---|---|
| GetPIPointClass |
Properties
| Name | Description | |
|---|---|---|
| Connection | Connection to a PI Data Archive to use | |
| Name | Name of the PI Point Class to get |
Examples
Get-PIPointClass -Name "Classic" -Connection $conWhere:
$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).ValueWhere:
$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.