Get cdrom dvdrom information

Configurare noua (How To)

Situatie

We can find the details like serial number, manufacturer and other details about a cdrom or dvd drive from windows command line. We can use ‘wmic cdrom‘ command for this. We can use the below command to get the information about cdrom or dvdrom.

Solutie

Pasi de urmat
wmic cdrom where mediatype!='unknown' get /format:list

‘wmic cdrom‘ command considers USB devices also as cdroms. For usb drives the media type field would be unknown. The above command’s output will skip those entries as we are filtering them with the condition ‘mediatype!=unknown‘.

To get serialnumber of the cdrom/dvdrom device.

wmic cdrom where mediatype!='unknown' get description,serialnumber

Example:

c:\>wmic cdrom where mediatype!='unknown' get description, serialnumber
Description   SerialNumber
CD-ROM Drive  HG97  208037

To get the cdrom or dvdrom model from command line.

wmic cdrom where mediatype!='unknown' get name,mediatype

Tip solutie

Permanent

Voteaza

(5 din 9 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?