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?
Any thoughts or suggestions?