Automate delete files with PowerShell if you have bunch of file or pattern with date in name file. In my SQL Backup scenario, my backup file generated with date created in the name file. So, to delete the file, the pattern we want to delete is the date looping in the script to get the date backdays and delete the file if the file meet the pattern requirement.
-
Notifications
You must be signed in to change notification settings - Fork 0
goms12/autodeleteps
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Automate delete files with PowerShell
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published