In one of the events you had to find the default printer. This can be done using WMI. The full list of printers can seen using: Get-WmiObject -Class Win32_Printer If you want to examine the printer objecy – to determine what information is available Read More...
Read the complete post at http://msmvps.com/blogs/richardsiddaway/archive/2012/05/06/scripting-games-2012-comments-13-default-printer.aspx
May 06 2012, 08:59 AM
Richard Siddaway's Blog