File rotation via BAT or Powershell command
$20-40 USD
Paid on delivery
Hi,
I have a simple powershell script:
Get-Process | Where-Object {$[login to view URL] -ne ""} | Select-Object MainWindowTitle
I need it to run every 20 minutes (as a Windows scheduled task) and put the result to a file in
%userprofile%\Documents\.CurrentOpenWindows with filename yyyy-mm-dd hh-mm-ss - [login to view URL]
It needs to also remove any log files older than 24 hours.
The purpose of this is that sometimes a program (e.g. Outlook) crashes and I lose track of the windows that were open so I want a way I can look back and see what was open.
Project ID: #32421024
About the project
Awarded to:
Hello, I am powershell developer having strong knowledge on writing scripts. I have already created similar task for database log files earlier which deletes log files older than particular retention value. If you can More
3 freelancers are bidding on average $37 for this job
Hello, I am a powershell and bat expert I can help you to make bat script and implement your project Please ping me for further discussion thanks
====POWERSHELL Expert==== Hi, I am a senior powershell script Developer from Serbia.. I have already checked your requirement, and I can help you to run as you want. If you want me, I will do my best to help you. Pleas More