HRESULT 0x8007000d,Get-Printer

Welcome Forums General PowerShell Q&A HRESULT 0x8007000d,Get-Printer

Viewing 0 reply threads
  • Author
    Posts
    • #205719
      Participant
      Topics: 1
      Replies: 0
      Points: 13
      Rank: Member

      Hello,

      My purpose is to migrate a printer queue / port automaticaly whith powershell command. I have a script for this. I work well except in one situation. I am trying to execute the following Get-Printer command: Get-Printer -ComputerName "serverB" -Name "*myPrinterName*"

      I execute this command from server A (0 printer queue) which interrogates server B (more than 6 000 printer queues) :

      Get-Printer -ComputerName "serverB" -Name "*myPrinterName*"

      • From server B to server B (so localhost), the order goes well.
      • From server A to a server “C” (10 printer Queues), the order goes well.
      • From server A to THE server B with 6000 printer Queues, Powershell returns an error :
      Get-Printer : Une erreur s’est produite lors de l’opération spécifiée. Pour plus d’informations, voir les détails de l’erreur.
      Au caractère Ligne:1 : 1
      + Get-Printer -ComputerName serverB -Name "*myPrinterName*"
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo : InvalidData : (MSFT_Printer:ROOT/StandardCimv2/MSFT_Printer) [Get-Printer], CimException
      + FullyQualifiedErrorId : HRESULT 0x8007000d,Get-Printer

      I did not find anything conclusive on the internet. I found only this topic, but there is no answer for my problem.

      I suppose this error occurred when printer queues objects are to many on a print server … like mine.

      i’m sooo stuck, do you have any ideas ?

      Thanks a lot,

      • This topic was modified 3 months, 1 week ago by simcmoi52.
      • This topic was modified 3 months, 1 week ago by simcmoi52.
      • This topic was modified 3 months, 1 week ago by simcmoi52.
      • This topic was modified 3 months, 1 week ago by simcmoi52.
      • This topic was modified 3 months, 1 week ago by grokkit.
Viewing 0 reply threads
  • The topic ‘HRESULT 0x8007000d,Get-Printer’ is closed to new replies.