Vssadmin Delete Shadows Command In Windows Server 2008

In this article I am going to explain about Vssadmin Delete Shadows command in Windows Server 2008 operating system and also explain it's related syntax.
  • 3082

Introduction

Vssadmin delete shadows command is Windows Server 2008 command line tool. This command is available in Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2. This command delete shadows copies of a specified volume.

Syntax

vssadmin delete shadows /for=<ForVolumeSpec> [/oldest | /all | /shadow=<ShadowID>] [/quiet]

Parameter of Vssadmin delete shadows

Parameter Description
/for=<ForVolumeSpec> This parameter is specified the volume for which shadow copy is to be deleted.
/oldest This parameter is deleted only the oldest shadow copy.
/all This parameter is deleted all of the shadow copies for the specified volume.
/shadow=<ShadowID> This Parameter is deleted the shadow copy specified by ShadowID.
/quiet This parameter is specified that the command will not display messages while it is running.

Example

The Vssadmin command delete the oldest shadow copy of volume C.

vssadmin delete shadows /for=c: /oldest

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.