Timestamp variable

Advertisement

madkins
Joined:
Posts:
1
Location:
Tampa, FL

Timestamp variable

I am trying to script out a job to get files that are at least X minutes old. I see the method of grabbing file attributes and using that as a mask, but I am failing to understand where I could specify $transferOptions.FileMask = ("*>" + $(Get-Date -f "yyyyMMddHHmmss")+5) or something like that.


Any thoughts or suggestions?

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum