Powershell, Removing a printer with a Wildcard value

Brian Marsalia 1 Reputation point

Looking for help to remove a printer through a powershell script.

I understand how to remove the printer using the whole name, but I need to use a wildcard with "prX" to delete the printer. I have tried everything I can think of and it doesnt work for me. Any assistance would be a great help

Thank you

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,562 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Laude 85,716 Reputation points


    PowerShell is currently not supported in the Q&A forums, the supported products are listed over here https://learn.microsoft.com/en-us/answers/products (more to be added later on).

    You can ask the experts in the dedicated PowerShell forum over here:

    (Please don't forget to accept helpful replies as answer)

    Best regards,

    0 comments No comments