microsoft_windows:cleantemp
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| microsoft_windows:cleantemp [2022/05/07 21:34] – rodolico | microsoft_windows:cleantemp [2022/11/14 03:15] (current) – rodolico | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| # Finally, Mozilla Firefox' | # Finally, Mozilla Firefox' | ||
| " | " | ||
| + | </ | ||
| - | ######### | + | Do not blindly paste the following |
| + | The following actually does the deletion. However, the -WhatIf says "show me what you'd do", so you must remove //-WhatIf// that before it will actually clean up. | ||
| - | # the following actually does the deletion. However, the -WhatIf says "show me what you'd do", so | + | Note, we are only removing files which were created over 30 days ago. |
| - | # you must remove that before it will actually clean up. | + | |
| + | <code powershell> | ||
| Get-ChildItem –Path | Get-ChildItem –Path | ||
| Get-ChildItem -Path " | Get-ChildItem -Path " | ||
microsoft_windows/cleantemp.1651977249.txt.gz · Last modified: 2022/05/07 21:34 by rodolico
