Advertisement
easternnl

Read Default Printer

Nov 23rd, 2015
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $defaultprinter = gwmi win32_printer | where { $_.default -eq $true }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement