Created
July 24, 2019 21:10
-
-
Save AspenForester/07545d0b47317de4e4fc6f2363392605 to your computer and use it in GitHub Desktop.
Iron Scripter 2019 - 2
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
$Measurement = get-childitem -Path C:\temp -Recurse -File | Measure-Object -Property Length -sum -Average | |
[pscustomobject]@{ | |
Count = $Measurement.Count | |
Average = $Measurement.Average | |
Sum = $Measurement.Sum | |
Date = Get-Date | |
ComputerName = $env:Computername | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment