Windows Server Commands & Scripts for IT Support
Windows Server Commands & Scripts for IT Support
1. Basic Commands
• hostname – Show computer name
• whoami – Show current user
• systeminfo – Show system details
• ipconfig /all – Show network configuration
• netstat -ano – View active connections
4. Network Commands
• Check IP configuration:
ipconfig /all
• Flush DNS:
ipconfig /flushdns
• Test network connection:
ping google.com
• Check open ports:
netstat -an
• Trace route:
tracert google.com
5. Process Management
• List all processes:
tasklist
• Kill a process:
taskkill /IM notepad.exe /F
• Monitor system performance:
perfmon
7. Service Management
• List all services:
Get-Service
• Start a service:
Start-Service -Name "wuauserv"
• Stop a service:
Stop-Service -Name "wuauserv"
• Restart a service:
Restart-Service -Name "wuauserv"
This document provides essential commands and scripts for IT Support Specialists working with
Windows Server.