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

PI Powershell

NewPICollective.Secondaries Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
NewPICollective.Secondaries Property

PI Data Archive machine names to be added as secondary collective members.

Note that this cmdlet does not automatically initialize each secondary member. This still must be done manually by taking a backup of the primary PI Data Archive once the collective is formed, and restoring the backup on each secondary member.

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

Syntax

[ParameterAttribute(Position = 3, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = "Secondary nodes")]
[ValidateNotNullOrEmptyAttribute]
public string[] Secondaries { get; set; }
<ParameterAttribute(Position := 3, Mandatory := false, ValueFromPipeline := false, 
	HelpMessage := "Secondary nodes")>
<ValidateNotNullOrEmptyAttribute>
Public Property Secondaries As String()
	Get
	Set

Dim instance As NewPICollective
Dim value As String()

value = instance.Secondaries

instance.Secondaries = value
public:
[ParameterAttribute(Position = 3, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = L"Secondary nodes")]
[ValidateNotNullOrEmptyAttribute]
property array<String^>^ Secondaries {
	array<String^>^ get ();
	void set (array<String^>^ value);
}
[<ParameterAttribute(Position = 3, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = "Secondary nodes")>]
[<ValidateNotNullOrEmptyAttribute>]
member Secondaries : string[] with get, set

Property Value

Type: String

See Also

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