@ECHO OFF TITLE **** SYSTEM INFORMATION by SMB **** :: ::Echo Operating System Version @Echo OFF ::mode 648 78 >nul 2>nu Color 0A set ip= for /f "tokens=2 delims= " %%a in ('%windir%\system32\nslookup myip.opendns.com resolver1.opendns.com 2^> nul ^| find "Address" ^| find ^/V "208.67.222.222"') do set ip=%%a ::VER ::OS Version Echo ------------------------------------------------------------------------- Echo ------------------------------------------------------------------------- Echo. Echo You are currently logged into: Echo. Echo Computer Name: %ComputerName% Echo User Name: %UserName% Echo. Echo ------------------------------------------------------------------------- Echo. Echo Network Info ipconfig /all | findstr /C:"IPv4" /C:"Subnet" /C:"Default" /C:"Physical Address" Echo External IP . . . . . . . . . . : %ip% Echo. Echo DNS nslookup localhost 2>nul | findstr /B /C:"Address" /C:"Server" Echo. systeminfo | findstr /B /C:"Domain" /C:"Logon Server" /C:"OS Name" /C:"OS Version" /C:"System Boot" ::echo Logon Server: %logonserver% Echo. Echo ------------------------------------------------------------------------- Echo ------------------------------------------------------------------------- Echo. :: Remove Comment to View Drive Space ::powershell.exe Get-PSDrive Echo Press the Space bar to close this window. pause NULL @echo off