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

PI Powershell

RemovePIPoint Class

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

Remove a PI Point from a PI Data Archive

The Remove-PIPoint cmdlet will delete one or more existing PI Points on a PI Data Archive.

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

Inheritance Hierarchy

SystemObject
  InternalCommand
    Cmdlet
      PSCmdlet
        OSIsoft.PowerShellOSICmdletBase
          OSIsoft.PowerShellOSICmdletBaseWithConnection
            OSIsoft.PowerShellRemovePIPoint

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)

Syntax

[CmdletAttribute("Remove", "PIPoint", SupportsShouldProcess = true)]
public class RemovePIPoint : OSICmdletBaseWithConnection
<CmdletAttribute("Remove", "PIPoint", SupportsShouldProcess := true)>
Public Class RemovePIPoint
	Inherits OSICmdletBaseWithConnection

Dim instance As RemovePIPoint
[CmdletAttribute(L"Remove", L"PIPoint", SupportsShouldProcess = true)]
public ref class RemovePIPoint : public OSICmdletBaseWithConnection
[<CmdletAttribute("Remove", "PIPoint", SupportsShouldProcess = true)>]
type RemovePIPoint =  
    class
        inherit OSICmdletBaseWithConnection
    end

The RemovePIPoint type exposes the following members.

Constructors

  NameDescription
Public method
RemovePIPoint

Properties

  NameDescription
Public property
Connection

Specifies which connection to a PI Data Archive to use.

(Overrides OSICmdletBaseWithConnectionConnection.)
Public property
Name

Name or names of the PI Point(s) to remove.

Examples

Remove-PIPoint -Name BoilerTemp1 -Connection $con

This example will delete the PI Point "BoilerTemp1" from the PI Data Archive specified by the -Connection parameter.

Examples

Remove-PIPoint -Name BoilerTemp1,BoilerTemp2,BoilerTemp3 -Connection $con

This example will delete the tags contained in a comma separated list from the PI Data Archive specified by the -Connection parameter.

See Also

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