Created
December 11, 2023 08:17
-
-
Save elderica/944061f37f1bc018c70ad40445eb7817 to your computer and use it in GitHub Desktop.
記憶装置のシリアルナンバーを16進数表記で調べる
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # シリアルナンバーを知りたい記憶装置だけ調べる | |
| (Get-PhysicalDisk | Out-GridView -PassThru).SerialNumber | Format-Hex | |
| # シリアルナンバーを一括で調べる | |
| Get-PhysicalDisk | Select BusType, MediaType, FriendlyName, SerialNumber, {$_.SerialNumber | Format-Hex} | Out-GridView |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment