25th
June
2008
Touching a File with PowerShell
I am finding more and more things I can do with PowerShell everyday. The other day, I had to “touch” a file… one line is what it takes:
(ls testFile.txt).LastWriteTime = New-object DateTime 1991,12,31
posted in PowerShell, Programming | 2 Comments