RemovePICollectiveMember Class
- Last UpdatedDec 15, 2025
- 3 minute read
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
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
| Name | Description | |
|---|---|---|
| RemovePICollectiveMember |
Properties
| Name | Description | |
|---|---|---|
| Name | Name of the PI Data Archive to remove from the PI Data Archive Collective | |
| 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.