Windows 10 How to parse special characters as local port name with Powershell

  • Thread starter Thread starter GPonceMDP
  • Start date Start date
G

GPonceMDP

Guest
I'm trying to add new local printer port with Powershell but I need to add al local port called "\\10.1.1.1\printer" and is not possible using this command:


Add-PrinterPort -name "\\10.1.1.1\printer"


Because systems get an error.

If I open Printer settings I can add a local port called "\\10.1.1.1\printer"

I do a Get-PrinterPort and it is listed.


How to do it by console in Powershell?




Gerardo Ponce / MdP / Argentina

More...
 
Back
Top