Useful windows command to get information

command prompt (cmd)

1. Run an app as administrator

runas /user:Administrator <cmd/notepad/explorer>

2. Get system information

systeminfo

3. Get info about your network and IP address, DNS, DHCP , etc…

ipconfig

4. Get info of your name, username, domain etc…

net config workstation

5. List all current available users on PC

net user

6. Get system information of another PC in your domain

systeminfo /s <PC NAME>

7. List all running tasks

tasklist

8. Get your PC serial number

wmic bios get serialnumber

--

--