Tag Archives: printing

GetPrinterDetails

      No Comments on GetPrinterDetails

Function GetVersion{ Param ([string]$PrintServer = “localhost”) $Results = @() ForEach ($Driver in (Get-WmiObject Win32_PrinterDriver -ComputerName $PrintServer)) { $Drive = $Driver.DriverPath.Substring(0,1) $Results += New-Object PSObject -Property @{ Name = $Driver.Name Server = $Driver.PSComputername } Write-Host $Results } $Results } cls Add-PSSnapin Citrix* -ErrorAction SilentlyContinue $GetXAZone = Get-XAZone $XAZoneName = $GetXAZone.ZoneName $XAServerList… Read more »