How Do You Troubleshoot This PowerShell Error “Unable to initialize device PRN.”?

Problem scenario
When running a PowerShell script, you receive the error "Unable to initialize device PRN."  

Solution
Use the "echo" reserved word instead of "print".

PRN is what the Windows system name for printer (according to this external posting).

Optional:  If you want to buy a book on PowerShell, click here; you may also want to click here and search for "PowerShell".

Leave a comment

Your email address will not be published. Required fields are marked *