Get-Printer

I noticed that’s a Get-Printer command in Powershell, does this only work in Windows 10?

I have PowerShell 5.0, and it won’t recognize this command.

I’m trying to figure out a way to change the IP Address of a printer.

https://technet.microsoft.com/en-us/library/hh918358.aspx?f=255&MSPPError=-2147217396

Thanks as alway,

Tony

Per the documentation that you linked, Get-Printer is available in Windows 8 and above. To change a printer IP, there and multiple scripts available such as this one: https://gallery.technet.microsoft.com/scriptcenter/Powershell-script-to-69903f6c

Thank you

Unfortunately, I have Windows 7, I found a way to add port using prnport.vbs. Now, I’m trying to figure out how to select the port.