title: Find print server on which a printer is installed using powershell in Domain
body: <p>I need to quickly find out the server on which a printer is installed in my Domain. There are 12 print servers with more than 50 printers on each. I used fol command but I get error</p>
  
  <pre><code>PS C:\&gt;Get-Printer -Name "PayRoll_Sec_ptr"
  </code></pre>
  
  <p>But this command give me result only when used on the particular server on which the printer is installed. That means I have to write it on 12 servers (or till I get the server where the printer is installed"</p>
  
  <p>When I used this command on my AD Role computer. it says</p>
  
  <pre><code>the term "get-printer" is not recognized as the name of a cmdlet, function, 
  
   script file, or operable program.
  </code></pre>