Windows 10 | re-appearing undead deleted network printers

My situation: I did run into ab massive windows boot thirty minute “please wait” issue. After hours and hours i did track this down to an issue with an re-appearing deleted network printer. This printer was installed on these machines and replaced by a new network printer. The old printer was deleted with a gpo […]

Deploying windows printserver printers to windows machines | installing drivers via powershell

Standard stuff: On Server install your printer and printer driver. Then run printmanagament.msc and do Deploy with Group Policy. Have an eye on the drivers section. Know the exact name of your driver, thats important for deploying drivers to local machines. Your brandnew Group Policy should consist of (i) computer >> policies >> windows settings […]

Powershell | Cleanup all the printer spooler queues

$computers = @(“COMP01″,”COMP02”) foreach ($computer in $computers) { echo $computer if (Test-Connection -BufferSize 32 -Count 1 -ComputerName $computer -Quiet) { echo “ON” #Get-WmiObject -computer $computers Win32_Service -Filter “Name=’Spooler'”| ft systemname, name, state #set your first argument as $computer #$computer = $args[0] #Stop the service: Get-WmiObject -Class Win32_Service -Filter ‘name=”spooler”‘ -ComputerName $computer | Invoke-WmiMethod -Name StopService […]