Powershell can run commands from cmd, bash, and other similar command line programs. Below are a few useful basic commands from cmd.
ping [Hostname or IP Address]
Tests connection between you and target device, can be used to find the IP of a hostname.
nslookup [IP Address]
Used to reverse look up a hostname by using an IP address. Running nslookup on a gateway address can lead to interesting data.
shutdown -f -r -t 0
Force restarts the computer now. Shutdown: shutdowns the device; -f: Force; -r: restart; -t: How many seconds to wait, default is 30 seconds.
gpupdate /force
Reapplies all policy settings. Run as admin, reboot after for best results.
sfc /scannow
Will scan all windows system files and fix any corrupted system files.
net user [username] /domain
Provides data about a user’s network account.