Set a default printer – Powershell

$Printer = Get-CimInstance -Class Win32_Printer -Filter "Name='Samsung M337x'"
Invoke-CimMethod -InputObject $Printer -MethodName SetDefaultPrinter 

Leave a Reply

You must be logged in to post a comment.