Friday, 5 June 2015

Windows system information


systeminfo | findstr /c:"Host Name" 
: hostname
systeminfo 
netstat -a
netstat -an 
ipconfig /all

echo Hard Drive Space: 
wmic diskdrive get size
echo list volume | diskpart
echo list volume | diskpart 

echo Service Tag: 
wmic bios get serialnumber

echo CPU: 
wmic cpu get name

echo "Processes:"
:wmic process list
tasklist

echo "Current user:"
whoami

No comments:

Post a Comment