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

PI Powershell

RemovePICollectiveMember Class

  • Last UpdatedDec 15, 2025
  • 3 minute read
RemovePICollectiveMember Class

Remove a PI Data Archive from an existing PI Data Archive Collective

The Remove-PICollectiveMember cmdlet removes the specified PI Data Archive from the PI Data Archive Collective.

The PICollective parameter specifies which PI Collective from which to remove the specified PI Data Archive.

Inheritance Hierarchy

SystemObject
  InternalCommand
    Cmdlet
      PSCmdlet
        OSIsoft.PowerShellOSICmdletBase
          OSIsoft.PowerShellRemovePICollectiveMember

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)

Syntax

[CmdletAttribute("Remove", "PICollectiveMember", SupportsShouldProcess = true)]
public class RemovePICollectiveMember : OSICmdletBase
<CmdletAttribute("Remove", "PICollectiveMember", SupportsShouldProcess := true)>
Public Class RemovePICollectiveMember
	Inherits OSICmdletBase

Dim instance As RemovePICollectiveMember
[CmdletAttribute(L"Remove", L"PICollectiveMember", SupportsShouldProcess = true)]
public ref class RemovePICollectiveMember : public OSICmdletBase
[<CmdletAttribute("Remove", "PICollectiveMember", SupportsShouldProcess = true)>]
type RemovePICollectiveMember =  
    class
        inherit OSICmdletBase
    end

The RemovePICollectiveMember type exposes the following members.

Constructors

  NameDescription
Public method
RemovePICollectiveMember

Properties

  NameDescription
Public property
Name

Name of the PI Data Archive to remove from the PI Data Archive Collective

Public property
PICollective

PI Data Archive Collective from which to remove the member

Examples

Remove-PICollectiveMember -Name "PISRV2" -PICollective (Get-PICollective -Connection $con)

Where:

$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"

Removes the PI Data Archive "PISRV2" from the PI Data Archive collective which the "PISRV1" PI Data Archive server is a part of. If multiple members are to be removed, run the command again for each member to be removed.

See Also

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