best free online dating sites reviews - Megas a gigas online dating
Finally, they divide value by 1024, leaving a final answer of 18.06029510498046875 gigabytes. Now, there’s nothing wrong with that, either; it’s just that it’s very easy to get mixed up and, say, divide by 1024 one too many or one too few times.
In turn, that means the answer generated by your script is going to dramatically over-report (or under-report) free disk space on the computer.
It would be far better and far more foolproof if you could just divide the number of bytes by a gigabyte. Well, not unless you use Windows Power Shell, that is: Notice what we’re doing this time around.
Once again we use Get-WMIObject to return information from the Win32_Logical Disk class.
Here’s a quick tip on working with Windows Power Shell.