Using Notepad to Print Things

by Nov 3, 2014

All PowerShell versions

To print a text-based file with the Notepad, try using this line (replace the path to the text file with some path that is meaningful to you, or else you will print a rather long system log file):

Start-Process -FilePath notepad -ArgumentList '/P C:\windows\WindowsUpdate.log'

Twitter This Tip! ReTweet this Tip!