title: Why don't see an error message after this command fails?
body: <p>I'm trying to print a test page to the default printer in this a small .ps1 script.</p>
  
  <pre><code>$printer = Get-WmiObject -Query " SELECT * FROM Win32_Printer WHERE Default=$true" 
  $PrintTestPage = $printer.PrintTestPage() 
  </code></pre>
  
  <p>For some reason, the test page only actually prints off if I run this command in an admin window. The command seems to complete in a regular non-elevated window, but the printer never actually prints a page, and no error is given. What could be keeping me from printing as a regular user?</p>
  
  <p>EDIT: I tested and it seems to work fine from my laptop or any other machine. What could be making my individual workstation have this problem?</p>
  
  <p>Update: The RMM service I'm using to deploy this script doesn't seem to like the command either, as it won't ever print anything off when being executed. Anyone who knows the cause of this or even a quick fix would be appreciated.</p>