CLOUDSCHOOL.AI · OPERATING SYSTEMS · WINDOWS

Windows fundamentals, client to server.

Windows runs most business desktops and a large share of the datacenter. Learn how Windows client and Windows Server fit together, then keep the PowerShell quick reference close. Part of Cloud School Operating Systems.

Nine ideas behind every Windows machine

Client and server editions

Windows 11 (Pro, Enterprise) runs on desktops and laptops. Windows Server (Standard, Datacenter) runs roles such as file, web, DNS, DHCP and Hyper-V. Server Core has no desktop and is managed remotely.

Architecture

The NT kernel runs drivers and core services; apps run in user mode. Each process gets its own memory, and Windows checks a security token on every access.

File system and drives

NTFS stores files with permissions (ACLs), encryption and quotas; ReFS suits large data volumes. Drives get letters such as C:, and BitLocker encrypts them.

The registry

A database of settings. HKLM holds machine settings, HKCU the current user's. Change it through policy or scripts, not by hand, and back it up first.

Services and processes

Background services start through the Service Control Manager. Manage them in services.msc, Task Manager or PowerShell, and schedule jobs with Task Scheduler.

Identity

Local accounts for one PC. Active Directory domains for on-premises users, computers and Group Policy. Microsoft Entra ID for cloud sign-in, often joined to AD as hybrid identity.

Management

PowerShell for everything, Group Policy for domain settings, Intune for cloud-managed devices, and Windows Admin Center or RDP for servers.

Updates

Monthly security updates arrive on Patch Tuesday through Windows Update, WSUS, Intune or Azure Update Manager. Test them first; see updates.cloudschool.ai.

Security basics

Patch every month, use standard user accounts with UAC, keep Microsoft Defender and the Windows Firewall on, turn on BitLocker and Secure Boot, and apply security baselines.

PowerShell commands you use every day

PowerShell commands are Verb-Noun and pass objects, not text. Find any command with Get-Command *service* and learn it with Get-Help Get-Service -Examples.

Files and folders

  • Get-ChildItem (ls, dir) list files
  • Set-Location C:\Temp (cd) move
  • Copy-Item, Move-Item, Remove-Item
  • New-Item -ItemType Directory C:\Lab
  • Get-Content log.txt -Tail 20 -Wait follow a file

Processes and services

  • Get-Process | Sort-Object CPU -Descending
  • Stop-Process -Name notepad
  • Get-Service | Where-Object Status -eq Running
  • Restart-Service Spooler
  • Set-Service W32Time -StartupType Automatic

System info

  • Get-ComputerInfo OS, version, hardware
  • Get-CimInstance Win32_OperatingSystem
  • Get-Volume, Get-Disk storage
  • Get-HotFix installed updates
  • Restart-Computer, Stop-Computer

Network

  • Get-NetIPAddress, Get-NetIPConfiguration
  • Test-NetConnection server -Port 443
  • Resolve-DnsName example.com
  • Get-NetTCPConnection -State Listen
  • Get-NetFirewallRule -Enabled True

Users and groups

  • Get-LocalUser, New-LocalUser
  • Add-LocalGroupMember Administrators -Member alice
  • Get-ADUser alice -Properties * (AD module)
  • whoami /groups your groups and rights
  • gpupdate /force, gpresult /r Group Policy

Logs, software and remoting

  • Get-WinEvent -LogName System -MaxEvents 20
  • winget install Git.Git, winget upgrade --all
  • Enter-PSSession server01 remote shell
  • Invoke-Command -ComputerName s1,s2 { hostname }
  • Install-WindowsFeature Web-Server (Server)
ToolOpen it with
Computer Managementcompmgmt.msc: users, disks, services and logs in one place.
Event Viewereventvwr.msc: System, Application and Security logs.
Servicesservices.msc
Registry Editorregedit (back up before editing)
Group Policygpedit.msc (local), gpmc.msc (domain)
System infomsinfo32, winver
Remote Desktopmstsc

From desktop to datacenter

01

Build a lab

Install Windows Server evaluation and a Windows 11 VM on Hyper-V, or use a small cloud VM.

02

Learn PowerShell

Run the commands above, use the pipeline and objects, then write your first script.

03

Run a domain

Promote a domain controller, add DNS and DHCP, join the client, create users and apply Group Policy.

04

Secure and go hybrid

Patch and baseline, connect to Entra ID and Intune, and manage servers with Azure Arc. Scripts on code.cloudschool.ai.

Also run Linux? See linux.cloudschool.ai, or compare both on os.cloudschool.ai.