Grab our RSS feeds Follow us on Twitter Join our Facebook Group Connect with us on LinkedIn
myITforum.com, Powered by You.
you are not logged in

Articles

Newslinks

Links

Downloads

Site Services

Community Forums

Discussion Lists

Article Search

Newsletter

Web Blogs

FAQs

Live Support

myITforum TV

Take a Poll

Monthly Drawing

myITforum Network

User Group Directory

Our Partners

About Us

Register

Login

BRONZE PARTNER:

BRONZE PARTNER:



Industry News:




  Home : Articles : Windows PowerShell print | email | | Forums |   print | email | | Blogs |   print | email | | Wiki |   print | email | | FAQs |   print | email | Article Search  
Get CD-Rom information


Bookmark and Share

By: Rod Trent
Posted On: 9/25/2008

Use this PowerShell script to find out information about the installed ROM drive on the computer, including a couple neat bits of information like if the drive needs cleaning.

Copy and paste from between the lines.

*******************

$computer = "LocalHost"
$namespace = "root\CIMV2"
Get-WmiObject -class Win32_CDROMDrive -computername $computer -namespace $namespace

*******************

List of information retrieved:

Availability
Capabilities
CapabilityDescriptions
Caption
CompressionMethod
ConfigManagerErrorCode
ConfigManagerUserConfig
CreationClassName
DefaultBlockSize
Description
DeviceID
Drive
DriveIntegrity
ErrorCleared
ErrorDescription
ErrorMethodology
FileSystemFlags
FileSystemFlagsEx
Id
InstallDate
LastErrorCode
Manufacturer
MaxBlockSize
MaximumComponentLength
MaxMediaSize
MediaLoaded
MediaType
MfrAssignedRevisionLevel
MinBlockSize
Name
NeedsCleaning
NumberOfMediaSupported
PNPDeviceID
PowerManagementCapabilities
PowerManagementSupported
RevisionLevel
SCSIBus
SCSILogicalUnit
SCSIPort
SCSITargetId
SerialNumber
Size
Status
StatusInfo
SystemCreationClassName
SystemName
TransferRate
VolumeName
VolumeSerialNumber

  myITforum.com ©2010 | Legal | Privacy