Monthly Archive

Categories

PSCX: get-opticaldriveinfo

This useful for showing the supported formats

001
002
003
004
005
006
$drives = Get-OpticalDriveInfo
foreach ($drive in $drives) {
    $drive | Format-List MountPoint, VendorId, ProductId, ProductRevision 
    "Supported Profiles"
    $drive | select -ExpandProperty SupportedProfiles | foreach {" $_"}
}

 

Technorati Tags: PowerShell,PSCX

Leave a Reply