Is there any way of pulling up a defrag report for a machine?

I've seen a lot scripts that will automate the defrag but that's not what I'm after.

Re: Defrag Report by Ulf

Ulf
Mon Nov 01 07:20:11 CST 2004

Tharg wrote:
> Is there any way of pulling up a defrag report for a machine?
>
> I've seen a lot scripts that will automate the defrag but that's not
> what I'm after.

Have a lot at this class:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/defrag_method_in_class_win32_volume.asp

It creates a defrag analysis object
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi
/win32_defraganalysis.asp)



Re: Defrag Report by mrtharg

mrtharg
Tue Nov 02 10:48:49 CST 2004

Thanks!

Seems like its only available on XP/2K3...