Skip to content

Partitions

Jorgen Lundman edited this page Oct 12, 2025 · 1 revision

Powershell

 Get-Partition | ForEach-Object { 
    [PSCustomObject]@{
        Path       = "\\?\Harddisk$($_.DiskNumber)Partition$($_.PartitionNumber)"
        Size       = "$($_.Size) bytes"
        AccessPath = ($_.AccessPaths -join ", ")
    }
 } | Format-Table -AutoSize

Then use the syntax: zpool create BOOM HarddiskXPartitionY

Clone this wiki locally