Vssadmin list shadows

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2

Lists all existing shadow copies of a specified volume. If you use this command without parameters, it displays all volume shadow copies on the computer, in the order dictated by Shadow Copy Set.

Syntax

vssadmin list shadows [/for=<ForVolumeSpec>] [/shadow=<ShadowID>]

Parameters

Parameter Description

/for=<ForVolumeSpec>

Specifies the volume for which the shadow copies are to be listed.

/shadow=<ShadowID>

Lists the shadow copy specified by ShadowID. To get the shadow copy ID, use the vssadmin list shadows command. When you type a shadow copy ID, use the following format, where each X represents a hexadecimal character:

XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

Additional references

Command-Line Syntax Key

Vssadmin