RemoveAFEventFrame Class
- Last UpdatedDec 15, 2025
- 2 minute read
Remove an AF Event Frame(s)
The Remove-AFEventFrame cmdlet deletes an existing AF Event Frame.
Inheritance Hierarchy
SystemObject
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellRemoveAFEventFrame
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellRemoveAFEventFrame
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)
Syntax
[CmdletAttribute("Remove", "AFEventFrame", SupportsShouldProcess = true)] public class RemoveAFEventFrame : OSICmdletBase
<CmdletAttribute("Remove", "AFEventFrame", SupportsShouldProcess := true)> Public Class RemoveAFEventFrame Inherits OSICmdletBase Dim instance As RemoveAFEventFrame
[CmdletAttribute(L"Remove", L"AFEventFrame", SupportsShouldProcess = true)] public ref class RemoveAFEventFrame : public OSICmdletBase
[<CmdletAttribute("Remove", "AFEventFrame", SupportsShouldProcess = true)>] type RemoveAFEventFrame = class inherit OSICmdletBase end
The RemoveAFEventFrame type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| RemoveAFEventFrame |
Properties
| Name | Description | |
|---|---|---|
| AFEventFrame | AF Event Frame to remove | |
| CheckIn | Check in changes immediately |
Examples
Remove-AFEventFrame -AFEventFrame $MyEventFrame -CheckIn
Where:
$afServer = Get-AFServer -Name "PIAF1"
$MyEventFrame = Get-AFEventFrame -ID 7570ec51-31c6-4611-0000-000000015f31 -AFServer $afServer
This example deletes the AF Event Frame stored in $MyEventFrame. The change is checked in immediately.