Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Getting the last shadow copy date of a file

$
0
0

When looking at a particular  file on the server (2008), we see entries under the previous version tab. I need a script to enumerate through an entire directory (and subdirectories), and print out the file name if the modified date is before the last shadow copy date.  

First things first, how can I get the last shadow copy date of a particular file?  Of course if you know the whole solution (enumeration, etc.) I'd appreciate that as well.



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>