Commands (CMD, PowerShell)
Show General System Information (OS, Boot-time, Specs, NIC, Hyper-V Req)¶
Hostname and Serial Number¶
Hostname: Shows hostname of computer
Serial Number: Shows S/N of computer
Ping¶
- Continuous Ping
- Pull DNS info from Ping (alternatively, use nslookup)
- Ping a certain amount of packets (Example: 60 packets [good for flapping alerts])
Traceroute¶
- Normal trace
- If unable to resolve hostname
Shows Network Drives Connected to User¶
GPO¶
- Shows all Group Policies for computer/user
- Update GPO
Computer Running Slow - SFC/DISM¶
- Note: To save time (and patience), use this version of these commands
- Reboot
DISM to Free-Up Space in WinSxS¶
- Note: The above command does not seem to work in Backstage (may be able to test with user-specific session)
IPConfig¶
- Wipes DNS Cache in Windows
- Renews IP Address (Will boot you off if remoted in)
-Shows IPv4, IPv6, DNS, etc.
Find/Logoff User¶
Find/Reset Password¶
Check for Email Domain on Server (PS)¶
Backstage Printers (PS)¶
- If you only need the Name/Driver Name
Check Domain Connection (PS)¶
Active Directory Password Policy¶
Re-Add Computer to Domain (PS)¶
- Example:
Check Route Table¶
Clear ARP Table¶
- Can be used to solve connectivity issues internally
Check Current Running Connections (at current time [will not update unless ran again])¶
- Note: TCPLogView may be a useful tool for logging data over time
Find & Cycle Network Adapter¶
- PowerShell
- CMD
Find TXT Records of Domain (example is DMARC)¶
- Note: This should work for other text records too if you know which one you're looking for
Get Current CPU Percentage (PS)¶
Install Appinstaller Package¶
Sync Changes to Azure¶
- This changes for all changed
- This changes for a specific policy
Find FQDN (Fully Qualified Domain Name) of Host (PS)¶
Find File (PS)¶
Get and Restart Service (PS)¶
- Get Service
- Restart Service
- Example: Restart Print Spooler
Test Domain Trust Broker (PS)¶
- If above is True, everything should be fine | If False, run the below command
Resync Time¶
net stop w32time && w32tm /unregister && w32tm /register && net start w32time && w32tm /resync && tzutil /s "Eastern Standard Time"
- For a list of Time Zones, run:
Open Network Routing Tables¶
Remove Folder/Files (PS)¶
See Storage Information of a Drive (PS)¶
- Can change "C" for other drive letters