Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #change canon and PCL5 to query a different model/type
- $installedDrivers = Get-WmiObject -Query "Select * from Win32_PrinterDriver where Name like 'canon%PCL5%'"
- if($installedDrivers){Write-Host "Canon PCL5 Driver Installed"}
- else {Write-Host "All System's are a Go!"}
Add Comment
Please, Sign In to add comment