Skip to content

Get-PveNodesStorage

Get status for all datastores.

API: GET /nodes/{node}/storage, Proxmox VE API viewer

Get-PveNodesStorage
[-PveTicket <PveTicket>]
[-Content <string>]
[-Enabled <bool>]
[-Format <bool>]
-Node <string>
[-Storage <string>]
[-Target <string>]
[<CommonParameters>]
Parameter Type Required Description
-PveTicket PveTicket No Ticket data connection.
-Content string No Only list stores which support this content type.
-Enabled bool No Only list stores which are enabled (not disabled in config).
-Format bool No Include information about formats.
-Node string Yes The cluster node name.
-Storage string No Only list status for specified storage.
-Target string No If target is different to ‘node’, we only lists shared storages which content is accessible on this ‘node’ and the specified ‘target’ node.

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.