INFORMACIÓN DE HARDWARE Y SOFTWARE POR CMD

To show all drives in the cmd use the following command:
wmic logicaldisk get deviceid, volumename, description

Filter drives by type
If you want to show only drives of a particular type, the wmic command can be further expanded to include a where clause.
wmic logicaldisk where drivetype=2 get deviceid, volumename, description

Encontrar el SID correspondiente al usuario especificado
wmic useraccount where name='username' get sid
Scroll al inicio