Add Printers using WSD port using powershell

ROHAN 41 Reputation points
2022-01-12T12:57:18.12+00:00

Could anyone please let me know if it is possible to Add-Printer using WSD, provided the WSD Print Provider exists. I need a PowerShell script which could accomplish this task. I can see WSD Print Providers in the Device Manager.

Any help on this please.. :(

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,546 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,661 Reputation points
    2022-01-12T21:15:51.403+00:00

    Hello @ROHAN

    here is the full how - to guide:

    Add-Printer
    https://learn.microsoft.com/en-us/powershell/module/printmanagement/add-printer?view=windowsserver2022-ps

    -DeviceUUID
    Specifies the multicast UUID for device detection for the WSD port.

    Hope this helps with your query!

    -------
    --If the reply is helpful, please Upvote and Accept as answer--


  2. Björn Hogeman 0 Reputation points
    2023-05-25T10:29:17.21+00:00

    I also can't find a normal way to add an WSD or IPP port with powershell or rundll32

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.