Using vssadmin through a batch command or powershell

5.3k views Asked by At

I need to access a file that is open by another process all the time. The best way would be for me to use Windows Shadow Copy to create another copy of the file and then use the copied file.

Does anyone know how to use vssadmin to create a backup and extract a specific file through a batch command or power shell? I would like to automate the process to run every night.

Jason

1

There are 1 answers

1
Andrew S On

Here is a page with examples on how to create snapshots from a command line with vssadmin:

http://blogs.msdn.com/b/adioltean/archive/2004/12/14/301868.aspx