The command-line tool for configuring shadow copies is VSSAdmin. Using VSSAdmin, you can configure shadow copying of volumes on the computer you're logged on to locally or remotely through Remote Desktop. As with Computer Management, each volume on a server that has shared folders must be configured separately for shadow copying.
To enable shadow copying of a volume, you use the ADD SHADOWSTORAGE command. The syntax is as follows:
vssadmin add shadowstorage /for=ForVolumeSpec /on=OnVolumeSpec
Here, /for=ForVolumeSpec is used to specify the local volume for which you are configuring or managing shadow copies and /on=OnVolumeSpec is used to specify the volume ...