Created
June 11, 2019 18:22
-
-
Save techthoughts2/c84daa661e60aa948a7774dadaabcec2 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
[io.file]::Create("$env:temp\reallybigfile-deleteme.txt").SetLength((gwmi Win32_LogicalDisk -Filter "DeviceID='C:'").FreeSpace - 1KB).Close |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment