Axels Homepage


 ≡ Links ≡ 
unter Windows immer verfügbar:
alle Windows-Kommandos

Vergleich:
UNiX vs. DOS-Kommandos

Unix-Tools unter Win:





Hinweis zu den Links
Problem mit einem Link?

 ≡ Zufalls-Auswahl ≡ 

blat - Blat
Konsole-Programm zum Versenden von E-Mail via SMTP und NNTP
 
Sie sind hier: » PC + Co. » mehr BAT-Skripte » andere Kommandos
Tipp
In der Quicksearch-Box rechts können Sie den Namen eines Windows-Kommandos oder Kommandozeilentools eingeben und kommen so schnell zu dessen Beschreibung.

BATch-Dateien - andere Kommando­zeilen­tools

psinfo

Übersicht

Befehl
Name
Kurzbeschreibung
Autor
Webseite
Lizenz
Syntax
Beispiele
     Get all HD Drives
Links

Befehlpsinfo
NamePSTools – psinfo
KurzbeschreibungAnzeige diverser Systeminfos
AutorSysinternals (Microsoft)
Webseite
LizenzFreeware
Syntax
PsInfo v1.75 - Local and remote system information viewer
Copyright (C) 2001-2007 Mark Russinovich
Sysinternals - www.sysinternals.com

PsInfo returns information about a local or remote Windows NT/2000/XP system.

Usage: psinfo [-h] [-s] [-d] [-c [-t delimiter]] [filter] 
              [\\computer[,computer[,..]]|@file [-u Username [-p Password]]]
     -u        Specifies optional user name for login to
               remote computer.
     -p        Specifies password for user name.
     -h        Show installed hotfixes.
     -s        Show installed software.
     -d        Show disk volume information.
     -c        Print in CSV format
     -t        The default delimiter for the -c option is a comma,
               but can be overriden with the specified character. Use
               "\t" to specify tab.
     filter    Psinfo will only show data for the field matching the filter.
               e.g. "psinfo service" lists only the service pack field.
     computer  Direct PsInfo to perform the command on the remote
               computer or computers specified. If you omit the computer
               name PsInfo runs the command on the local system, 
               and if you specify a wildcard (\\*), PsInfo runs the
               command on all computers in the current domain.
     @file     PsInfo will run against the computers listed in the file
               specified.

Beispiele

Get all HD Drives

In Batchdateien die lokal installierten Festplatten-Laufwerke zu erkennen (z.B. um alle Partitionen zu defragmentieren) geht nur mit Zusatztools.

Snippet:
for /f "tokens=1" %%a in ('Psinfo.exe -d ^| findstr "Fixed" ') do (
	echo Festplatte %%a 
	rem Hier Aktionen fuer das Laufwerk angeben
)

Links

Übersicht


Anmerkung:
Wenn Sie für die Besucher dieser Webseite ein (weiteres) Praxis-Beispiel für das Kommandozeilentool psinfo beisteuern möchten, so senden Sie es mit bitte per E-Mail (s. Link in der Fusszeile unten links).

Seitenanfang

 
©2010 by Axel Hahn - powered by
Valid HTML 4.01!