Skip to content

Remove-PveNodesCephPool

Destroy pool

API: DELETE /nodes/{node}/ceph/pool/{name}, Proxmox VE API viewer

Remove-PveNodesCephPool
[-PveTicket <PveTicket>]
[-Force <bool>]
-Name <string>
-Node <string>
[-RemoveEcprofile <bool>]
[-RemoveStorages <bool>]
[<CommonParameters>]
Parameter Type Required Description
-PveTicket PveTicket No Ticket data connection.
-Force bool No If true, destroys pool even if in use.
-Name string Yes The name of the pool. It must be unique.
-Node string Yes The cluster node name.
-RemoveEcprofile bool No Remove the erasure code profile. Defaults to true, if applicable.
-RemoveStorages bool No Remove all pveceph-managed storages configured for this pool.

Every parameter also binds by property name from the pipeline, so an object with node and vmid properties (the output of Get-PveGuest, for one) fills -Node and -Vmid. Without -PveTicket the cmdlet uses the last connection, see Connection.

A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.