2022-10-27发表2022-10-27更新powershell / tip几秒读完 (大约59个字)PowerShell 技能连载 - 获取卷 ID(第 1 部分)您可以查询 WMI 以获取类似驱动器卷 ID 的列表: 12Get-CimInstance -ClassName Win32_Volume |Select-Object -Property DriveLetter, DeviceID, SerialNumber, Capacity PowerShell 技能连载 - 获取卷 ID(第 1 部分)https://blog.vichamp.com/2022/10/27/get-volume-ids-part-1/作者Victor Woo发布于2022-10-27更新于2022-10-27许可协议#powershelltippowertipseries