Files
work/README.md
2023-10-13 07:32:55 -04:00

715 B

Useful code

CSV to XLSX

PowerShell script to convert any CSVs found in directory that were created today -

  1. saves them as an XLSX
  2. renames the first tab
  3. moves the XLSX to the parent directory

Keep Only X Days

PowerShell script to delete objects in the directory/subdirectory specified that are older than NumDays.

Accepts 2 arguments

  • NumDays
    • integer
    • default is 90
  • DebugCommand
    • boolean
    • default is false

Stop computer from going idle

Python script to top computer from going idle.