Technology knowledge has to be shared and made accessible for free. Join the movement.
To view the logical volumes, the following query uses WMIC (Windows Management Instrumentation Command-line) to list the names of logical volumes:
wmic logicaldisk get name ## Name ## C: ## D: ##