Add-Printer -Name "HP Envy 6500e" -IppURL "http://HP48EA62BF714A.local:631/ipp/print"; Start-Sleep 5; Get-Printer -Name "HP Envy 6500e" | Format-List Name,PortName