Using Windows Server 2012 R2:
My application creates many temp files in a service account's temp folder:
C:\Users\SVC_ACCT\AppData\Local\Temp\
I need to build a PowerShell script that cleans the content of the temp folder every night, outside of busy hours.
Before I build the script, I wonder if there is such command line that I can reliably schedule it every night?