Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

madkins

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?