Optical Drive hunting
Christopher Dashiells
We have lost a couple CDs during imaging and deployment and would like to run a report through PDQ inventory for them instead of touching each and every physical computer. Is this possible?
0
Comments
That'll return False if there is no disk, and true if there is one.
Select your targets, run a remote command, check the output. Those True will be your culprits.
unfortunately it didnt work.
Error:
Return Code: 1
.MediaLoaded was unexpected at this time.
Interesting. It's working across my labs. Of course, I'm using Powershell 5.0 and Windows 10 1703.
What OS and PS Version are you using?
I didn't select PS. However after doing so it throws an error that everything is on PS 2.0. ill need to update that across the board first and try it again.
Good news! Now you can scan for this with Inventory 15 Beta 1's WMI scanner.
https://support.pdq.com/hc/en-us/articles/115003468752-Inventory-WMI-Scanner-Usage-Examples#cd
https://documentation.pdq.com/PDQInventory/15.0.1.0/wmi-scanner.htm