r-Techsupport / Get-Specs

Windows Specifications script for rTechsupport
GNU General Public License v3.0
6 stars 4 forks source link

Add detection for drive compression #63

Open gkhull opened 2 years ago

gkhull commented 2 years ago

I think it would be beneficial to add a detection for drive compression built into windows. Some users enable it due to crappy tech tips and it hurts the performance of the machine since cpu cycles are wasted. It is labeled as "compress this drive to save disk space" in the disk properties/folder/file properties menu. The easiest resouce I have found to do this is by using https://get-carbon.org/Test-NtfsCompression.html

PipeItToDevNull commented 2 years ago

Adding a module to everyone's machine would be less than perfect, the native query method if compact.exe /CompactOs:query which we can parse the output on. Seeing what that returns on a compressed OS would be beneficial

PipeItToDevNull commented 2 years ago

This was tested, and did not yield usable results