Does anyone know if there's a way to add an IP printer port via the Add-PrinterPort Powershell command? I was able to add a new printer to a Windows 2016 server that uses an IPP port via GUI, and when I do a "get-printerport | select *" command, here is the info that is listed for the created port:
Caption : Description : Internet Port ElementName : InstanceID : CommunicationStatus : DetailedStatus : HealthState : InstallDate : Name : https://REDACTED:443/printer OperatingStatus : OperationalStatus : PrimaryStatus : Status : StatusDescriptions : ComputerName : PortMonitor : Internet Port PSComputerName : CimClass : ROOT/StandardCimv2:MSFT_PrinterPort CimInstanceProperties : {Caption,Description, ElementName, InstanceID...} CimSystemProperties : Microsoft.Management.Infrastructure.CimSystemProperties
I didn't see any examples in the MS Add-PrinterPort doc that go over adding an IPP port, and my web searches have come up empty. Has anyone been able to figure this out?
Thanks!