信息和磁盘号对应起来
一般前2句就够用了
Get-PhysicalDisk |ft SerialNumber,FriendlyName,PhysicalLocation,AllocatedSize,Size -AutoSize...DiskNumber,Size,AllocatedSize,FriendlyName,IsBoot,IsOffline,IsReadOnly,Location,NumberOfPartitions -AutoSize...DiskNumber,Size,AllocatedSize,FriendlyName,IsBoot,IsOffline,IsReadOnly,Location,NumberOfPartitions -AutoSize...Get-Disk -SerialNumber disk-kkhtlbcx |Get-Partition |ft DriveLetter,DiskNumber,Size -AutoSize
官网文档也有指导