volume [-<option> . . .]
Manipulates a volume.
Options
[-name] <string>
Volume name.
-labels
Lists the labels of all the removable media used in the volume.
-stat
Display statistics about the volume content.
-list
Lists the volume content.
-check
Check that all volume files are present and of the correct size and that the volume directories do not contain extra files.
-copyfiles <string>
Copy all the volume files to the specified destination URL preserving their directory structure.
-create
Create a new volume.
-update
Updates an existing volume.
-url <string>
URL of the root directory of the new volume (when using -create) or URL of a different root directory to use for the existing volume (when using -update).
-username <string>
Login user name of the new volume (when using -create) or new login user name for the existing volume (when using -update).
-domain <string>
Login domain of the new volume (when using -create) or new login domain for the existing volume (when using -update).
-password <string>
Login password of the new volume (when using -create) or new password for the existing volume (when using -update).
-readonly <tri-state: true ('1', 'true'), false ('0, 'false') or not specified (empty)>
Specifies if the new volume is read-only (when using -create) or changes the read-only property of the existing volume (when using -update).
-removable <tri-state: true ('1', 'true'), false ('0, 'false') or not specified (empty)>
Specifies if the new volume has removable storage (when using -create) or changes the removable property of the existing volume (when using -update).
-remove
Removes the volume - that must be empty.
-recycle <string>
IIS application pools to recycle after having created/updated/removed a volume. It is a comma-separated list of application pool names in the format 'server name'/'pool name' or just 'pool name' (local server)