Schlagwort-Archive: dsquery

Windows Befehle für die Systemprüfung

Um ein Windows Server lokal oder von remote prüfen zu können ist es i. d. R. notwendig einige Informationen zum Betriebssystem abzufragen. Ich habe über die letzten Jahre ein paar nützliche Befehle zusammen getragen und hoffe, dass Sie noch jemandem anderen helfen:

Alle Benutzer aus einem AD Auslesen:

dsquery user -d fragmichnicht.de -uc -limit 0 -o upn > c:\users.txt

Patchlevel lokal auslesen

wmic /output:c:\0010_patchlevel.html qfe list full /format:hform

Patchlevel remote auslesen

wmic /node:127.0.0.1,127.0.0.2,127.0.0.3 /output:c:\0010_patchlevel.html qfe list full /format:hform

Prozesse lokal auslesen

wmic /output:c:\0020_process.html process list full /format:hform

Prozesse remote auslesen

wmic /node:127.0.0.1 /output:c:\0020_process.html process list full /format:hform

Autostart lokal auslesen

wmic /output:c:\0030_autostart.html startup list full /format:hform

Autostart remote auslesen

wmic /node:127.0.0.1 /output:c:\0030_autostart.html startup list full /format:hform

Hardware lokal auslesen

wmic /output:c:\0040_cpu.html cpu list full /format:hform
wmic /output:c:\0050_os.html os list full /format:hform
wmic /output:c:\0060_computersystem.html computersystem list full /format:hform
wmic /output:c:\0070_logicaldisk.html logicaldisk list full /format:hform
wmic /output:c:\0080_csproduct.html csproduct list full /format:hform

Hardware remote auslesen

wmic /node:127.0.0.1 /output:c:\0040_cpu.html cpu list full /format:hform
wmic /node:127.0.0.1 /output:c:\0050_os.html os list full /format:hform
wmic /node:127.0.0.1 /output:c:\0060_computersystem.html computersystem list full /format:hform
wmic /node:127.0.0.1 /output:c:\0070_logicaldisk.html logicaldisk list full /format:hform
wmic /node:127.0.0.1 /output:c:\0080_csproduct.html csproduct list full /format:hform

Lokale Benutzer anzeigen

net user

Loakle Gruppen anzeigen

net localgroup

Mitglieder von bestimmten Gruppen anzeigen

net localgroup administrators

Laufende Services anzeigen

net start

Netzwerkverbindungen

netstat -nao