Wednesday, January 18, 2012

Installing printers using PowerShell

Our developer team has a wiki page that describes very clearly how to use the Windows 7 UI to install network printers into developer machines. The document is well written, with all steps accompanied by screenshots. However, it is tricky and boring to follow, so I thought there must be a simpler way to add printers using PowerShell - and it turns out there is.

$net = New-Object -Com WScript.Network


Post a Comment