IP Address of WSD Port Printers using powershell

ROHAN 41 Reputation points
2022-01-21T06:38:08.7+00:00

Hi All,

I have been working with displaying the details of printers lately and I have come across a few printers which use WSD ports. I need to display the IP Address details of the printers . I get the IP address of printers which uses the TCP IP ports but not the ones with the WSD Ports. Is there any way to find the IpAddress of the printers using WSD ports? I have come across a Location parameter which displays the IpAddress in a URL format(http://10.xxx.xxx.xx:<portnumber>). Would it help using this parameter ?

I'm using PowerShell to get the details. Any help would be appreciated.

Windows for business Windows Server User experience PowerShell
{count} votes

Accepted answer
  1. Limitless Technology 39,916 Reputation points
    2022-01-24T15:40:38.647+00:00

    Hello,

    And if you ping the printer name wouldn`t it show the IP. If ping doesnt work, on a system that has it installed, right click, go to properties, click the web services tab. The IP address will be there. Or under; HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SWD\DAFWSDProvider . The value you are looking for is called LocationInformation. This can also been seen in Device Manager under WSD inside the properties tab.


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

    2 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Andreas Baumgarten 123.4K Reputation points MVP Volunteer Moderator
    2022-01-21T14:07:04.42+00:00

    Hi @ROHAN ,

    maybe this helps?

    https://www.jeff-ferguson.com/2018/12/18/printing-get-ip-address-when-only-wsd-port-is-available/

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

  2. Rich Matheisen 47,901 Reputation points
    2022-01-21T19:40:25.467+00:00

    Have a look at this thread (and each of the embedded links in any replies): 404596-find-out-ip-associated-with-wsd-port

    I think the short answer is "you can't".

    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.