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

PI Powershell

AddPIDataArchiveConnectionConfiguration.Port Property

AddPIDataArchiveConnectionConfiguration.Port Property

  • Last UpdatedDec 15, 2025
  • 1 minute read
AddPIDataArchiveConnectionConfiguration.Port Property

TCP Port to use to connect to PI Data Archive. Typically set to "5450".

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

Syntax

[ParameterAttribute(Position = 4, Mandatory = false, HelpMessage = "Port")]
[ValidateNotNullOrEmptyAttribute]
public int Port { get; set; }
<ParameterAttribute(Position := 4, Mandatory := false, HelpMessage := "Port")>
<ValidateNotNullOrEmptyAttribute>
Public Property Port As Integer
	Get
	Set

Dim instance As AddPIDataArchiveConnectionConfiguration
Dim value As Integer

value = instance.Port

instance.Port = value
public:
[ParameterAttribute(Position = 4, Mandatory = false, HelpMessage = L"Port")]
[ValidateNotNullOrEmptyAttribute]
property int Port {
	int get ();
	void set (int value);
}
[<ParameterAttribute(Position = 4, Mandatory = false, HelpMessage = "Port")>]
[<ValidateNotNullOrEmptyAttribute>]
member Port : int with get, set

Property Value

Type: Int32

See Also

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