Get-PveNodesDisksList
List local disks.
API: GET /nodes/{node}/disks/list, Proxmox VE API viewer
Syntax
Section titled “Syntax”Get-PveNodesDisksList [-PveTicket <PveTicket>] [-IncludePartitions <bool>] -Node <string> [-Skipsmart <bool>] [-Type <string>] [<CommonParameters>]Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
-PveTicket |
PveTicket |
No | Ticket data connection. |
-IncludePartitions |
bool |
No | Also include partitions. |
-Node |
string |
Yes | The cluster node name. |
-Skipsmart |
bool |
No | Skip smart checks. |
-Type |
string |
No | Only list specific types of disks. Values: unused, journal_disks. |
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.
Output
Section titled “Output”A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.