Created
April 7, 2017 18:27
-
-
Save nicoddemus/e43caec3616973578a221f0b185b943a to your computer and use it in GitHub Desktop.
Remove directory recursively measuring time in powershell
This file contains hidden or 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
param( | |
[string] | |
$Directory | |
) | |
Measure-Command { Remove-Item -Recurse -Force $Directory } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment