A Powershell script deletes files older than a certain date in a predefined folder. It checks the last-used date property of a file, when its older than the specified date, it will be deleted. It also deletes all empty folders that it can find in its predefined folder.
Be careful! there is no undo ...
This is a simpel powershell script and is not extensively tested.
____ _ _ ______ _ _
/ __ \| | | | | ____(_| |
| | | | | __| | | |__ _| | ___ ___
| | | | |/ _ | | __| | | |/ _ / __|
| |__| | | (_| | | | | | | __\__ \
______\____/|_|\__,_| |_| |_|_|\___|___/
|_ __ \ ___ _ __ ___ _____ _____ _ __
| |__) / _ | '_ ' _ \ / _ \ \ / / _ | '__|
| __ /| __| | | | | | (_) \ V | __| |
_| | \ \___|_| |_| |_|\___/ \_/ \___|_|
|____| |__| ~ Bastiaan Groen ~
Versie: 2.0