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

PI Powershell

SetAFPort Properties

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

The SetAFPort type exposes the following members.

Properties

  NameDescription
Public property
AFPort

AF Port to edit

Public property
AFPortType

AF Port Type to set on the AF Port

Public property
AllowedElementCategory

List of AF Element Categories for AF Elements that are allowed to connect to this port

Public property
AllowedElementTemplate

Only AF Elements using this AF Element Template are allowed to connect to this port

Public property
AllowedElementType

Types of AF Elements that are allowed to connect to this port

Public property
CheckIn

Check in changes immediately

Public property
Description

Description to set on the AF Port

Public property
MaxConnections

Maximum number of connections to set on the AF Port

Public property
NewName

New name to set on the AF Port

Public property
PassThru

Returns objects that were changed. By default, this cmdlet does not generate any output.

See Also

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