NewPICollective.Secondaries Property
- Last UpdatedDec 15, 2025
- 2 minute read
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