Archive

ping sweep

FOR /L %i in (1,1,254) do @ping -n 1 -w 200 192.168.1.%i | find "TTL"

Remove Printer Powershell

Drucker auflisten:

PS C:\> Get-Printer |fl
Name : \\server\OKI-MC873
ComputerName : server
Type : Connection
ShareName : OKI-MC873
PortName : WSD-2c689077-228f-41d7-b1f3-d1ca727e3613.0032
DriverName : OKI MC873(PCL6)
...

Drucker entfernen:

PS C:\> Remove-Printer -Name "\\server\OKI-MC873"