Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources: Active Threads
Viewing all articles
Browse latest Browse all 8411

Create WSD Port

$
0
0

How do I add a printer that is connected to a WSD port. I've the IP Address of the device that I need to connect to. I tried the following

Add-Printer -Name 'test print' -DeviceURL 'ipaddress'. I've the driver already installed, but the port does not exist yet. I get the following error when I run the above from the admin mode.

+ Add-Printer -Name 'Test WSD Printer' -DeviceURL 'ipaddress'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (MSFT_Printer:ROOT/StandardCimv2/MSFT_Printer) [Add-Printer], CimException
    + FullyQualifiedErrorId : HRESULT 0x8007200f,Add-Printer


Viewing all articles
Browse latest Browse all 8411

Latest Images

Trending Articles



Latest Images