Skip to content

Added "Size" property to the disks for Windows systems - #612

Merged
Rakesh (RakeshwarK) merged 4 commits into
microsoft:mainfrom
RakeshwarK:Disks
Jan 7, 2026
Merged

Rakesh (RakeshwarK) merged 4 commits into
microsoft:mainfrom
RakeshwarK:Disks

Conversation

@RakeshwarK

@RakeshwarK Rakesh (RakeshwarK) commented Jan 6, 2026 •

Copy link
Copy Markdown
Contributor

Linux disks always include a "size" property even when there are no volumes/partitions for the disk. However, Windows disks DO NOT include a "Size" property at any point.

Following is the telemetry snippet after the changes on a win-x64 VM:
"disksToTest": [
{
"index": 1,
"devicePath": "\\.\PHYSICALDISK1",
"properties": {
"model": "",,,
"crashdump Disk": "No",
"clustered Disk": "No",
"index": 1,
"size": "880 GB"
},

@RakeshwarK
Rakesh (RakeshwarK) marked this pull request as ready for review January 6, 2026 21:12
@RakeshwarK
Rakesh (RakeshwarK) merged commit d6485ee into microsoft:main Jan 7, 2026
@RakeshwarK
Rakesh (RakeshwarK) deleted the Disks branch January 7, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants