Your journey into Windows Server administration begins here.
Windows Server 2022 comes in several editions, each designed for different workloads and environments.
| Edition | Use Case | Licensing |
|---|---|---|
| Standard | Physical or lightly virtualized environments | Per-core + CALs, 2 VMs included |
| Datacenter | Highly virtualized datacenters | Per-core + CALs, Unlimited VMs |
| Essentials | Small business (≤25 users) | Per-server, no CALs needed |
| Azure Edition | Azure hybrid cloud integration | Azure-only features (Hotpatch) |
Windows Server can be installed in two modes. This decision is made during installation and affects how you manage the server.
Server Manager is the central management console for Windows Server with Desktop Experience. It launches automatically at logon.
Windows Server functionality is divided into Roles (major services) and Features (supporting capabilities).
| Role | Purpose |
|---|---|
| Active Directory Domain Services | Identity management, domain authentication |
| DNS Server | Name resolution for the domain |
| DHCP Server | Automatic IP address assignment |
| File and Storage Services | File sharing, storage management |
| Hyper-V | Virtualization platform |
| Web Server (IIS) | Host websites and web applications |
PowerShell is the backbone of modern Windows Server administration, every GUI action has a PowerShell equivalent and PowerShell can do much more.
PowerShell commands (called cmdlets) follow a consistent Verb-Noun pattern that tells you exactly what each command does:
PowerShell has built-in variables that hold system data, they always start with $. First check on any server: which PowerShell version is running. PS 5.1 (built into Windows Server) and PS 7+ (installed separately) support different cmdlets.
Search for cmdlets by verb to discover what's available, then pull up built-in help for any command.
The pipeline operator | sends the output of one command directly into another for filtering, sorting, or formatting, all in a single line.
The pipe is a conveyor belt: the left command produces objects, the right command processes each one. Unlike Linux pipes that pass raw text, PowerShell pipes pass full objects with inspectable, filterable properties.
Where-Object passes through only the objects matching your condition. The condition lives inside a script block { }.
Inside the script block, $_ is the current object. Access its properties with a dot ($_.PropertyName). The operator -eq means "equals."
Get-Service | Retrieve all services |
| | Pipe to next command |
Where-Object | Filter the pipeline |
{ } | Script block |
$_ | Current object |
.Status | Access property |
-eq 'Running' | Equals comparison |
-eq | Equals |
-ne | Not equals |
-gt / -lt | Greater / Less than |
-like | Wildcard match (Win*) |
Booleans are $true and $false.
Chain as many pipes as you need. Each | passes the result to the next command, building a data-processing assembly line.
Get-WindowsFeature | Where-Object { $_.Installed -eq $true } to filter installed server roles, same pattern.
First on any new server: get its identity and hardware details. Two commands, one for the full picture, one for the quick answer.
Services are the backbone of Windows Server. Check which ones are running, start stopped services, restart misbehaving ones.
When a server is slow, find which processes are consuming the most CPU.
Event logs are your server's diary. Check recent entries or filter by error level when troubleshooting.
Get-Help cmdlet -Online to open Microsoft docs in your browser for any command.
After installing Windows Server, complete these essential configuration tasks:
Every server starts with a random default name and DHCP. Rename it, then pin it to a static IP so other machines can always find it.
Without correct DNS, the server cannot resolve domain names or find domain controllers for authentication. Point it at your local DC plus a public fallback.
In production, you rarely sit at a server console. Four primary remote-management tools, each with a use case:
| Tool | Use Case | Protocol |
|---|---|---|
| Remote Desktop (RDP) | Full GUI access | TCP 3389 |
| PowerShell Remoting | Command-line administration | WinRM (5985/5986) |
| Server Manager | Multi-server GUI management | WinRM |
| Windows Admin Center | Modern web-based management | HTTPS |
PowerShell Remoting must be enabled on the target first, then you can open an interactive session that gives you a live prompt on the remote server.
Invoke-Command runs the same script block on multiple servers in parallel, how admins manage fleets of machines efficiently.
Windows Admin Center (WAC) is Microsoft's modern, browser-based management tool that consolidates many administrative tasks.
Server Core has no GUI. When you log in, you get a bare command prompt. sconfig is the menu-driven Server Configuration tool for common setup tasks.
PowerShell is your primary tool on Server Core. Switch from the basic prompt into PowerShell, then list available roles and features.
The sconfig menu organizes common Server Core configuration into numbered options:
|, and filtering with Where-Object