Created
July 21, 2019 16:44
-
-
Save camusicjunkie/7d7f25c1f3ebbae966493b866267dd34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$files = gci -Recurse -File | |
$files | measure -Property length -Sum -Average | select @{n = 'ComputerName'; e = {$env:COMPUTERNAME}}, Count, Sum, Average, @{n = 'Date'; e = {Get-Date}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Absolutely. Go for it! 👍