mirror of
https://github.com/acedanger/work.git
synced 2025-12-05 22:30:13 -08:00
465 B
465 B
Useful code
CSV to XLSX
PowerShell script to convert any CSVs found in directory that were created today -
- saves them as an XLSX
- renames the first tab
- moves the XLSX to the parent directory
Keep Only X Days
Accepts 2 arguments
-
NumDays- integer
- default is
90
-
DebugCommand- boolean
- default is
false
PowerShellscript to delete objects in the directory/subdirectory specified that are older thanNumDays.