ClearChangeTables Class
- Last UpdatedDec 15, 2025
- 2 minute read
Clears ChangeTables in the PISystem
Clears the tables in the PI AF SQL database which record information on changes to the PISystem.
Inheritance Hierarchy
SystemObject
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellClearChangeTables
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellClearChangeTables
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)
Syntax
[CmdletAttribute("Clear", "AFChangeTables", SupportsShouldProcess = true)] public class ClearChangeTables : OSICmdletBase
<CmdletAttribute("Clear", "AFChangeTables", SupportsShouldProcess := true)> Public Class ClearChangeTables Inherits OSICmdletBase Dim instance As ClearChangeTables
[CmdletAttribute(L"Clear", L"AFChangeTables", SupportsShouldProcess = true)] public ref class ClearChangeTables : public OSICmdletBase
[<CmdletAttribute("Clear", "AFChangeTables", SupportsShouldProcess = true)>] type ClearChangeTables = class inherit OSICmdletBase end
The ClearChangeTables type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ClearChangeTables |
Properties
| Name | Description | |
|---|---|---|
| AFServer | Instance of the AFServer |
Examples
$afServer | Clear-AFChangeTables
Where:
$afServer = Get-AFServer -Name "AFServerMachineName"
Clears the tables in the PI AF SQL database which record information on changes in the PISystem specified by the AFServer.