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

PI Powershell

RemoveAFEventFrame Class

  • Last UpdatedDec 15, 2025
  • 2 minute read
RemoveAFEventFrame Class

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

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

  NameDescription
Public method
RemoveAFEventFrame

Properties

  NameDescription
Public property
AFEventFrame

AF Event Frame to remove

Public property
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.

See Also

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