-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove MB and GB from lines in the report #27
Comments
Where are you seeing the redundancy?
I tested the output and exporting to CSV myself and do not see it. |
Thank you for looking at this. In the example, it says:
| .EXAMPLE |
| | |
| | Get-FolderSize | Format-Table -AutoSize |
| | |
| | |
| | FolderName SizeBytes SizeMB SizeGB |
| | |
| | $GetCurrent 193768 0.18 MB 0.00 GB |
| | $RECYCLE.BIN 20649823 19.69 MB 0.02 GB |
| | $SysReset 53267392 50.80 MB 0.05 GB |
| | Config.Msi 0.00 MB 0.00 GB |
| | Documents and Settings 0.00 MB 0.00 GB |
| | Games 48522184491 46,274.36 MB 45.19 GB |
The "MB" and "GB" on each line is redundant since the title already says SizeMB and SizeGB.
I keep the number of things that I know about PowerShell to a minimum, so I don't remember how to export to a .csv file. If I need to do that in a script then I will look it up, but I won't do that if I have a result that I want in a spreadsheet. I will do a copy/paste which is easy to remember. I will also do an Excel Text to Columns which is also easy. The "MB" and "GB" end up as an extra column. I took these out of Get-FolderSize after I downloaded it. It looks like you already fixed this but didn't update the .EXAMPLE.
😷 Andy Young 😷
***@***.***
On Tuesday, January 31, 2023 at 12:37:09 p.m. EST, Mike Roberts ***@***.***> wrote:
Where are you seeing the redundancy?
FolderName : Packages
SizeBytes : 15087431550
SizeKB : 14733819.87
SizeMB : 14388.5
SizeGB : 14.05
FullPath : C:\Users\thegn\AppData\Local\Packages
HostName : njarzr
I tested the output and exporting to CSV myself and do not see it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Remove MB and GB from lines in the report.
These mess up importing the data into Excel when I do copy/paste, text to data.
They are already identified as MB and GB in the Item Name, so it's redundant.
The text was updated successfully, but these errors were encountered: