ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Windows CLI: List printers

    IT Discussion
    windows printers cmd cmdlet powershell
    3
    6
    2.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gjacobseG
      gjacobse
      last edited by scottalanmiller

      In the past I've used Net use to list network resources, but that only lists mapped drives.

      There seems to be one to list network printers, but I have yet to find it. While I keep searching - has anyone used this? In my mind, I'm sure it's there... I just haven't come across it yet.

      1 Reply Last reply Reply Quote 1
      • coliverC
        coliver
        last edited by

        Powershell has the Get-Printer command.

        gjacobseG 1 Reply Last reply Reply Quote 0
        • gjacobseG
          gjacobse @coliver
          last edited by

          @coliver said:

          Powershell has the Get-Printer command.

          PS is great to know,.. however in this case (and maybe I should have stated as such) I am using ScreenConnect - Command option, in hopes of not needing to remote to the computer.

          1 Reply Last reply Reply Quote 0
          • coliverC
            coliver
            last edited by

            Try this:

            CScript C:\windows\system32\Printing_Admin_Scripts\en-US\prnmngr.vbs -l
            
            1 Reply Last reply Reply Quote 3
            • gjacobseG
              gjacobse
              last edited by

              I found that,.. but didn't use the CSript..

              Makes a difference.

              Thanks

              1 Reply Last reply Reply Quote 0
              • art_of_shredA
                art_of_shred Banned
                last edited by

                Thanks! That's helpful.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post