Skip to content

Instantly share code, notes, and snippets.

@camusicjunkie
Created July 21, 2019 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save camusicjunkie/7d7f25c1f3ebbae966493b866267dd34 to your computer and use it in GitHub Desktop.
Save camusicjunkie/7d7f25c1f3ebbae966493b866267dd34 to your computer and use it in GitHub Desktop.
$files = gci -Recurse -File
$files | measure -Property length -Sum -Average | select @{n = 'ComputerName'; e = {$env:COMPUTERNAME}}, Count, Sum, Average, @{n = 'Date'; e = {Get-Date}}
@camusicjunkie
Copy link
Author

Absolutely. Go for it! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment