$files = gci -Recurse -File | |
$files | measure -Property length -Sum -Average | select @{n = 'ComputerName'; e = {$env:COMPUTERNAME}}, Count, Sum, Average, @{n = 'Date'; e = {Get-Date}} |
This comment has been minimized.
This comment has been minimized.
Hey there. I was going through the previous Iron Scripter challenges and thought that I could write some blog posts with walk-throughs for them. My solution for this challenge used Thanks! |
This comment has been minimized.
This comment has been minimized.
Absolutely. Go for it! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
I always forget about Measure-Object. I rarely find myself using it.