Home Reference WMI Reference root CIMV2 Win32_DefragAnalysis
 

Win32_DefragAnalysis

A DefragAnalysis is the result of executing the Win32_Volume::DefragAnalysis or Defrag methods;it is passed as an [out] parameter from these methods.

Quick Start

Properties

In this WMI class, all WMI properties are read-only. You can only read values but not change them.

AverageFileSize

Data type UInt64

The average size of files on the volume.

AverageFragmentsPerFile

Data type Real64

The average number of fragments per file on the volume.

AverageFreeSpacePerExtent

Data type UInt64

The average size of free space extents on the volume.

ClusterSize

Data type UInt64

The size of the file system allocation.

ExcessFolderFragments

Data type UInt64

The total number of excess folder fragments on the volume.

FilePercentFragmentation

Data type UInt32

Percentage of files that are fragmented on the volume.

FragmentedFolders

Data type UInt64

The total number fragmented folders on the volume.

FreeSpace

Data type UInt64

The space currently free on the volume.

FreeSpacePercent

Data type UInt32

The percentage free space on the volume.

FreeSpacePercentFragmentation

Data type UInt32

Percentage of freespace that is fragmented on the volume. This property is deprecated because the computed value is unreliable. Use AverageFreeSpacePerExtent, LargestFreeSpaceExtent and TotalFreeSpaceExtents to evaluate the fragmentation of volume free space.

LargestFreeSpaceExtent

Data type UInt64

The size of the largest free space extent on the volume.

MFTPercentInUse

Data type UInt32

The percentage of the Master File Table that is in use.

MFTRecordCount

Data type UInt64

The number of records in the Master File Table.

PageFileSize

Data type UInt64

The size of the page file on the volume. If there is no page file on the volume this property will be NULL. This property is deprecated because page file fragmentation is no longer available. The value returned for this property will always be zero.

TotalExcessFragments

Data type UInt64

The total number excess file fragments on the volume.

TotalFiles

Data type UInt64

Total number of files on the volume.

TotalFolders

Data type UInt64

The total number folders on the volume.

TotalFragmentedFiles

Data type UInt64

The total number of fragmented files on the volume.

TotalFreeSpaceExtents

Data type UInt64

The total number of free space extents on the volume.

TotalMFTFragments

Data type UInt64

The total number of Master File Table fragments on the volume.

TotalMFTSize

Data type UInt64

The total size of the Master File Table on the volume.

TotalPageFileFragments

Data type UInt64

The total number of fragments for the page file. If there is no page file on the volume this property will be NULL. This property is deprecated because page file fragmentation is no longer available. The value returned for this property will always be zero.

TotalPercentFragmentation

Data type UInt32

Total percent fragmentation on the volume. This property is deprecated because the computed value is unreliable. Use FilePercentFragmentation to evaluate the fragmentation of the volume.

TotalUnmovableFiles

Data type UInt64

The total number of unmovable files on the volume.

UsedSpace

Data type UInt64

The space currently used on the volume.

VolumeName

Data type String

The name of the volume for which this report is generated. This property can the the volume drive letter, a mount point or the volume GUID name.

VolumeSize

Data type UInt64

Total size of the volume.

Methods

Examples

Help and Questions

  Community Content

You are cordially invited to add knowledge to this page. If you have sample code or additional information related to this WMI class, please share it. Use the comment form to send your information. We will edit and incorparate it into the reference library. Thank you!

Please do not use the comment form to submit questions. If you have questions or need assistance, visit our free forum: Help me with WMI.

Content last updated: 2013-12-27 12:31:58 (UTC).

Facebooktwittergoogle_pluspinterestlinkedinFacebooktwittergoogle_pluspinterestlinkedin