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

PI Powershell

AddAFServer Properties

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddAFServer Properties

The AddAFServer type exposes the following members.

Properties

  NameDescription
Public property
Account

Service account name that the AF Server is executing under

Public property
DefaultPIServerName

Name of the Default PI Server to be associated with this AFServer

Public property
Description

Description of the AF Server to be added to the local AF Servers list

Public property
Name

Name of the AF Server to be added to the local AF Servers list

Public property
Path

Network path of the AF Server to be added to the local AF Servers list. This is the path used when attempting a connection to the AF Server. Note that the network path can be a machine name, IP address, or Fully Qualified Domain Name (FQDN).

Public property
Port

TCP port the AF Server is listening on. Typically, this is "5457"

Public property
Timeout

Timeout to use when communicating with the AF Server. Should be set with syntax "hh:mm:ss"

See Also

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