Hi,
I am trying to get all Networkprinters from our Printservers. For this i use the following PowerShell-Command:
Get-WmiObject -class Win32_Printer -ComputerName $PrintSRV.Server | SELECT Name, Systemname
It works fine if the printserver OS is Windows Server 2016 or higher. But now the problem. We still have one old printserver with Windows Server 2008 R2. This server only gives me the local XPS Printer but not the network printers with this script. I also tryed to run it with “Invoke-Command” but with the same result.
Is there another way to get all printers from the old printserver?
Best regards
Christian