
We keep all kinds of data and files on our Windows computers. Methods to Securely Erase Data on Windows 11 Let’s read further to see what these methods are. However, there are ways to securely erase data beyond recovery from your old Windows computer. Along with this, the header files that contain basic details of files like size, type, etc. A computer simply removes the file pointers that mark the start and end points of files. We all know how to delete data but on the contrary, but not many know the fact that deleted files or data don’t really get deleted after pressing the Delete button. But before you proceed with it, do ask yourself the following question - did you securely erase data present on your computer? So you have recently built yourself a brand new computer and are thinking of passing your old computer down to your sibling or planning to sell it. The following example might be overkill with the Size expression in there, but I literally had this in VS Code right now so I just pasted what I was working with.Methods to Securely Erase Data on Windows 11

You didn’t specify what you want the sort order to be, but whatever it is, just use the `Sort-Object` cmdlet on it. I have seen identical servers built from identical AWS CloudFormation templates dump their disks in different orders if you don’t specify otherwise. This is important – never rely on any system to sort output unless you tell it to.

The order of the volumes displayed by your two example command sequences will be indeterminate (that is, it could be anything) because you have not specified a sort order anywhere. Your question is a little old, but in case you never solved it, or if anyone comes here looking for the answer to your question, let me give some info here.
