Upload files to "Fix Scripts"
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
$WSD = @()
|
||||
|
||||
$printername = Get-Printer | Where-Object { $_.Portname -like "*WSD*" } | Select-Object -ExpandProperty Name
|
||||
|
||||
Add-PrinterPort -Name "LocalPort:"
|
||||
|
||||
Get-Printer $printername | Set-Printer -PortName "LocalPort:"
|
||||
|
||||
Restart-Service Spooler
|
||||
|
||||
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\WSD Port" /f
|
||||
|
||||
Start-Service Spooler
|
||||
Reference in New Issue
Block a user