I need to print a PNG-file from inside a PowerShell script. Under Win10, to a specific printer. I find a number of solutions for text files, and also for PDFs, but none for image files.
Just so there is an answer:
Start-Process C:\windows\system32\mspaint.exe -Arg '/p "C:\scripts\testfil.PNG" /pt "\\ourprintserver\skr1234"'