RemovePIDigitalStateSet Class
- Last UpdatedDec 15, 2025
- 2 minute read
Remove a PI Digital State Set from a PI Data Archive
The Remove-PIDigitalStateSet cmdlet removes a PI Digital State Set from 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.PowerShellRemovePIDigitalStateSet
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellOSICmdletBaseWithConnection
OSIsoft.PowerShellRemovePIDigitalStateSet
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)
Syntax
[CmdletAttribute("Remove", "PIDigitalStateSet", SupportsShouldProcess = true)] public class RemovePIDigitalStateSet : OSICmdletBaseWithConnection
<CmdletAttribute("Remove", "PIDigitalStateSet", SupportsShouldProcess := true)> Public Class RemovePIDigitalStateSet Inherits OSICmdletBaseWithConnection Dim instance As RemovePIDigitalStateSet
[CmdletAttribute(L"Remove", L"PIDigitalStateSet", SupportsShouldProcess = true)] public ref class RemovePIDigitalStateSet : public OSICmdletBaseWithConnection
[<CmdletAttribute("Remove", "PIDigitalStateSet", SupportsShouldProcess = true)>] type RemovePIDigitalStateSet = class inherit OSICmdletBaseWithConnection end
The RemovePIDigitalStateSet type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| RemovePIDigitalStateSet |
Properties
| Name | Description | |
|---|---|---|
| Connection | Connection to a PI Data Archive from which to remove the PI Digital State Set | |
| Name | Name of the PI Digital State Set to remove |
Examples
Remove-PIDigitalStateSet -Name "BoilerState" -Connection $conWhere:
$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"
This example removes the PI Digital State Set "BoilerState" from the "PISRV1" PI Data Archive.