Bonjour,

Voici le code, qu'en pensez-vous ?

Get-Printer -COMPUTER 2012R2-MS | Get-PrintJob | where {$_.JobStatus -match “Error”} | Remove-PrintJob

Merci du retour