Code:
PS C:\windows\system32> Get-Disk | ft -AutoSize
>> Get-Disk | Where-Object IsSystem -eq $True | fl
>> Get-PhysicalDisk
>> Get-Partition
>> Get-Volume
Number Friendly Name Serial Number HealthStatus OperationalStatus Total Size Partition Style
------ ------------- ------------- ------------ ----------------- ---------- ---------------
0 TOSHIBA MQ04ABF100 Y0SCPFQQT Healthy Online 931.51 GB GPT
UniqueId : 5000039A6270D6A1
Number : 0
Path : \\?\scsi#disk&ven_ata&prod_toshiba_mq04abf1#4&1cf74083&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91ef
b8b}
Manufacturer :
Model : TOSHIBA MQ04ABF100
SerialNumber : Y0SCPFQQT
Size : 931.51 GB
AllocatedSize : 580768194560
LogicalSectorSize : 512
PhysicalSectorSize : 4096
NumberOfPartitions : 4
PartitionStyle : GPT
IsReadOnly : False
IsSystem : True
IsBoot : True
Number FriendlyName SerialNumber MediaType CanPool OperationalStatus HealthStatus Usage Size
------ ------------ ------------ --------- ------- ----------------- ------------ ----- ----
0 TOSHIBA MQ04ABF100 Y0SCPFQQT HDD True OK Healthy Auto-Select 931.51 GB
ObjectId : {1}\\LAPTOP-528THCF7\root/Microsoft/Windows/Storage/Providers_v2\WSP_Partition.ObjectId="{eccbb3
b5-5d7c-11eb-a51b-806e6f6e6963}:PR:{00000000-0000-0000-0000-100000000000}\\?\scsi#disk&ven_ata&p
rod_toshiba_mq04abf1#4&1cf74083&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : {00000000-0000-0000-0000-100000000000}5000039A6270D6A1
AccessPaths : {\\?\Volume{1ec6f91f-da59-4390-a4e2-057cb9381c6e}\}
DiskId : \\?\scsi#disk&ven_ata&prod_toshiba_mq04abf1#4&1cf74083&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91
efb8b}
DiskNumber : 0
DriveLetter :
GptType : {c12a7328-f81f-11d2-ba4b-00a0c93ec93b}
Guid : {1ec6f91f-da59-4390-a4e2-057cb9381c6e}
IsActive : False
IsBoot : False
IsDAX :
IsHidden : True
IsOffline : False
IsReadOnly :
IsShadowCopy :
IsSystem : True
MbrType :
NoDefaultDriveLetter :
Offset : 1048576
OperationalStatus : Online
PartitionNumber : 1
Size : 272629760
TransitionState : 1
PSComputerName :
Type : System
DiskPath : \\?\scsi#disk&ven_ata&prod_toshiba_mq04abf1#4&1cf74083&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91
efb8b}
ObjectId : {1}\\LAPTOP-528THCF7\root/Microsoft/Windows/Storage/Providers_v2\WSP_Partition.ObjectId="{eccbb3
b5-5d7c-11eb-a51b-806e6f6e6963}:PR:{00000000-0000-0000-0000-501000000000}\\?\scsi#disk&ven_ata&p
rod_toshiba_mq04abf1#4&1cf74083&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : {00000000-0000-0000-0000-501000000000}5000039A6270D6A1
AccessPaths :
DiskId : \\?\scsi#disk&ven_ata&prod_toshiba_mq04abf1#4&1cf74083&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91
efb8b}
DiskNumber : 0
DriveLetter :
GptType : {e3c9e316-0b5c-4db8-817d-f92df00215ae}
Guid : {647326a5-c0f2-45c5-a2e3-94a37cf112d0}
IsActive : False
IsBoot : False
IsDAX :
IsHidden : True
IsOffline : False
IsReadOnly :
IsShadowCopy :
IsSystem : False
MbrType :
NoDefaultDriveLetter :
Offset : 273678336
OperationalStatus : Online
PartitionNumber : 2
Size : 16777216
TransitionState : 1
PSComputerName :
Type : Reserved
DiskPath : \\?\scsi#disk&ven_ata&prod_toshiba_mq04abf1#4&1cf74083&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91
efb8b}
ObjectId : {1}\\LAPTOP-528THCF7\root/Microsoft/Windows/Storage/Providers_v2\WSP_Partition.ObjectId="{eccbb3
b5-5d7c-11eb-a51b-806e6f6e6963}:PR:{00000000-0000-0000-0000-501100000000}\\?\scsi#disk&ven_ata&p
rod_toshiba_mq04abf1#4&1cf74083&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : {00000000-0000-0000-0000-501100000000}5000039A6270D6A1
AccessPaths : {C:\, \\?\Volume{fc6b5c28-b412-4f05-8461-93efbca1e0c4}\}
DiskId : \\?\scsi#disk&ven_ata&prod_toshiba_mq04abf1#4&1cf74083&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91
efb8b}
DiskNumber : 0
DriveLetter : C
GptType : {ebd0a0a2-b9e5-4433-87c0-68b6b72699c7}
Guid : {fc6b5c28-b412-4f05-8461-93efbca1e0c4}
IsActive : False
IsBoot : True
IsDAX : False
IsHidden : False
IsOffline : False
IsReadOnly : False
IsShadowCopy : False
IsSystem : False
MbrType :
NoDefaultDriveLetter : False
Offset : 290455552
OperationalStatus : Online
PartitionNumber : 3
Size : 579926491136
TransitionState : 1
PSComputerName :
Type : Basic
DiskPath : \\?\scsi#disk&ven_ata&prod_toshiba_mq04abf1#4&1cf74083&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91
efb8b}
ObjectId : {1}\\LAPTOP-528THCF7\root/Microsoft/Windows/Storage/Providers_v2\WSP_Partition.ObjectId="{eccbb3
b5-5d7c-11eb-a51b-806e6f6e6963}:PR:{00000000-0000-0000-0000-a0bfe8000000}\\?\scsi#disk&ven_ata&p
rod_toshiba_mq04abf1#4&1cf74083&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : {00000000-0000-0000-0000-a0bfe8000000}5000039A6270D6A1
AccessPaths : {\\?\Volume{694412d4-3c5b-476a-b18d-49ffe9104089}\}
DiskId : \\?\scsi#disk&ven_ata&prod_toshiba_mq04abf1#4&1cf74083&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91
efb8b}
DiskNumber : 0
DriveLetter :
GptType : {de94bba4-06d1-4d40-a16a-bfd50179d6ac}
Guid : {694412d4-3c5b-476a-b18d-49ffe9104089}
IsActive : False
IsBoot : False
IsDAX : False
IsHidden : False
IsOffline : False
IsReadOnly : False
IsShadowCopy : False
IsSystem : False
MbrType :
NoDefaultDriveLetter : True
Offset : 999647346688
OperationalStatus : Online
PartitionNumber : 4
Size : 550502400
TransitionState : 1
PSComputerName :
Type : Recovery
DiskPath : \\?\scsi#disk&ven_ata&prod_toshiba_mq04abf1#4&1cf74083&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91
efb8b}
ObjectId : {1}\\LAPTOP-528THCF7\root/Microsoft/Windows/Storage/Providers_v2\WSP_Volume.ObjectId="{eccbb3b5-
5d7c-11eb-a51b-806e6f6e6963}:VO:\\?\Volume{1ec6f91f-da59-4390-a4e2-057cb9381c6e}\"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : \\?\Volume{1ec6f91f-da59-4390-a4e2-057cb9381c6e}\
AllocationUnitSize : 4096
DedupMode : NotAvailable
DriveLetter :
DriveType : Fixed
FileSystem : FAT32
FileSystemLabel : SYSTEM
FileSystemType : FAT32
HealthStatus : Healthy
OperationalStatus : OK
Path : \\?\Volume{1ec6f91f-da59-4390-a4e2-057cb9381c6e}\
Size : 268435456
SizeRemaining : 183971840
PSComputerName :
ObjectId : {1}\\LAPTOP-528THCF7\root/Microsoft/Windows/Storage/Providers_v2\WSP_Volume.ObjectId="{eccbb3b5-
5d7c-11eb-a51b-806e6f6e6963}:VO:\\?\Volume{694412d4-3c5b-476a-b18d-49ffe9104089}\"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : \\?\Volume{694412d4-3c5b-476a-b18d-49ffe9104089}\
AllocationUnitSize : 4096
DedupMode : NotAvailable
DriveLetter :
DriveType : Fixed
FileSystem : NTFS
FileSystemLabel : Windows RE tools
FileSystemType : NTFS
HealthStatus : Healthy
OperationalStatus : OK
Path : \\?\Volume{694412d4-3c5b-476a-b18d-49ffe9104089}\
Size : 550498304
SizeRemaining : 62889984
PSComputerName :
ObjectId : {1}\\LAPTOP-528THCF7\root/Microsoft/Windows/Storage/Providers_v2\WSP_Volume.ObjectId="{eccbb3b5-
5d7c-11eb-a51b-806e6f6e6963}:VO:\\?\Volume{fc6b5c28-b412-4f05-8461-93efbca1e0c4}\"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : \\?\Volume{fc6b5c28-b412-4f05-8461-93efbca1e0c4}\
AllocationUnitSize : 4096
DedupMode : NotAvailable
DriveLetter : C
DriveType : Fixed
FileSystem : NTFS
FileSystemLabel : Windows
FileSystemType : NTFS
HealthStatus : Healthy
OperationalStatus : OK
Path : \\?\Volume{fc6b5c28-b412-4f05-8461-93efbca1e0c4}\
Size : 579926487040
SizeRemaining : 519217135616
PSComputerName :
Bookmarks