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

PI Powershell

EnableExternalDataTables Class

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

Enables support for an AFTable to link to an external source.

This method is used to enable the PISystemFeatures.ExternallyLinkedTable feature in the PI AF SQL Server database. This feature controls support for allowing an AFTable to link to an external source.

Inheritance Hierarchy

SystemObject
  InternalCommand
    Cmdlet
      PSCmdlet
        OSIsoft.PowerShellOSICmdletBase
          OSIsoft.PowerShellEnableExternalDataTables

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

Syntax

[CmdletAttribute("Enable", "AFExternalDataTables", SupportsShouldProcess = true)]
public class EnableExternalDataTables : OSICmdletBase
<CmdletAttribute("Enable", "AFExternalDataTables", SupportsShouldProcess := true)>
Public Class EnableExternalDataTables
	Inherits OSICmdletBase

Dim instance As EnableExternalDataTables
[CmdletAttribute(L"Enable", L"AFExternalDataTables", SupportsShouldProcess = true)]
public ref class EnableExternalDataTables : public OSICmdletBase
[<CmdletAttribute("Enable", "AFExternalDataTables", SupportsShouldProcess = true)>]
type EnableExternalDataTables =  
    class
        inherit OSICmdletBase
    end

The EnableExternalDataTables type exposes the following members.

Constructors

  NameDescription
Public method
EnableExternalDataTables

Properties

  NameDescription
Public property
AFServer

Instance of the AFServer

Examples

$afServer | Enable-AFExternalDataTables

Where:

$afServer = Get-AFServer -Name "AFServerMachineName"

Enables support for an AFTable to link to an external source

See Also

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