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.PowerShellRemovePIDigitalStateSet
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellRemovePIDigitalStateSet
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)
Syntax
[CmdletAttribute("Remove", "PIDigitalStateSet", SupportsShouldProcess = true)] public class RemovePIDigitalStateSet : OSICmdletBase
<CmdletAttribute("Remove", "PIDigitalStateSet", SupportsShouldProcess := true)> Public Class RemovePIDigitalStateSet Inherits OSICmdletBase Dim instance As RemovePIDigitalStateSet
[CmdletAttribute(L"Remove", L"PIDigitalStateSet", SupportsShouldProcess = true)] public ref class RemovePIDigitalStateSet : public OSICmdletBase
[<CmdletAttribute("Remove", "PIDigitalStateSet", SupportsShouldProcess = true)>] type RemovePIDigitalStateSet = class inherit OSICmdletBase 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.