Thanks for the answers.
I got a solution for the problem by using WMI. Here is the result

Code:
 
$Printers = GetObject("winmgmts:").ExecQuery("Select * from Win32_Printer where ShareName <> NULL")
For Each $Printer In $Printers
? $Printer.Name " - " $Printer.ShareName
Next


The select gets only printers with sharename not NULL because this are localy installed printers.

Greets
Marcus