Skip to content

Start Here

Welcome to the SysAdmin pillar. The approach here is automation first: if you do a task twice by hand, script it the third time. The page gives you a blueprint in four areas (Windows provisioning, diagnostics, VPN networking, Linux and Docker operations), plus a table that maps common tasks to tools and to pages on this site.

Ready-to-copy commands are in the PowerShell and Winget cheat sheet. To assemble your own install script, use the Script Stack Generator. The Tools hub lists everything else.

Provision Diagnose Connect Operate
+-----------+ +-------------+ +-------------+ +--------------+
| Winget | | Sysinternals| | WireGuard / | | systemd, |
| PowerShell|------>| Ventoy USB |----->| Tailscale / |----->| journald, |
| Golden | | Event logs | | vendor VPN | | Docker |
| image | | | | clients | | |
+-----------+ +-------------+ +-------------+ +--------------+
repeatable find the cause reach the site keep it running

Goal: a new or reinstalled PC reaches your standard state without clicking through installers.

Approach What it is Best for
Winget Windows Package Manager. Installs, upgrades and exports lists of apps from the command line. Repeatable app installs on Windows 10/11
PowerShell scripts Wrap winget, settings, folders and shortcuts into one script. Standard setup for a team or lab
Golden image A reference installation captured and re-applied to many machines. Many identical machines, such as a classroom or office

A sensible progression:

  1. Install your tools by hand once and note what you used.
  2. Export the list with winget export and re-create it elsewhere with winget import.
  3. Put those steps into a version-controlled script. The Script Stack Generator helps you build the app list.
  4. Only build a golden image when the number of machines justifies the maintenance. Images go stale, so keep apps in scripts and the image minimal.
Tool What it gives you
Sysinternals (Microsoft) Process Explorer, Process Monitor, Autoruns, TCPView and more for seeing what a Windows machine is really doing
Event Viewer / Get-WinEvent System and application logs, queryable from PowerShell
Ventoy A bootable USB that lets you copy many ISO files onto one drive and pick one at boot, handy for installers and rescue tools
Get-NetTCPConnection, Test-NetConnection Which ports are listening, and whether a remote port is reachable

Get into the habit of asking three questions in order: what changed, what do the logs say, and can I reproduce it from the command line.

This section is vendor-neutral. The tools differ in details, but the facts below hold across them.

Option Basic idea
WireGuard A modern, lightweight VPN protocol that uses UDP and public-key authentication. You manage keys and peers yourself.
Tailscale A mesh VPN service built on WireGuard that handles key distribution and connectivity between your devices.
FortiClient The client for Fortinet environments, typically SSL or IPsec VPN to a FortiGate firewall managed by your organisation.
Sophos Sophos offers VPN clients that connect to Sophos firewalls managed by your organisation.

Practical points:

  • Vendor clients (Fortinet, Sophos) are only useful when your organisation runs the matching gateway. You cannot use them standalone.
  • Most VPN problems are routing or DNS problems. Check which networks the tunnel routes (full tunnel vs split tunnel) and which DNS server answers.
  • Overlapping subnets (for example both sites using 192.168.1.0/24) break routing across a VPN. Plan addressing first with the Subnet and VLAN Planner.
  • A VPN is not a substitute for patching or segmentation. Do not expose industrial devices to the internet. See Cybersecurity start.

On the Linux side, learn four habits:

  1. Services: use systemctl status NAME and journalctl -u NAME before touching configuration.
  2. Networking: know ip addr, ip route and ss -tulpn. The Linux networking CLI cheat sheet covers them.
  3. Containers: treat containers as disposable and keep data in volumes. docker ps, docker logs and docker stats answer most questions.
  4. Automation: put repeatable setups in Compose files and shell scripts, not in your memory.

For a hands-on container exercise, try the virtual Modbus Docker lab.

Task Tool Page on this site
Install a standard app set on a new PC Winget + PowerShell PowerShell and Winget cheat sheet
Build an install script Script generator Script Stack Generator
Find which process owns a port Get-NetTCPConnection, Get-Process PowerShell and Winget cheat sheet
Check whether a remote port is open Test-NetConnection PowerShell and Winget cheat sheet
Plan subnets and VLANs Planner Subnet and VLAN Planner
Look up a protocol port number Reference table Industrial ports and protocols
Troubleshoot Linux networking ip, ss, ping Linux networking CLI
Capture and inspect traffic Wireshark Wireshark OT hardening
Run a monitoring and detection lab Wazuh Wazuh home SOC lab
Plan a career path Certification overview Security certifications primer
  1. Day 1: export your apps with winget and rebuild them in a virtual machine.
  2. Day 2: read your Windows System log with Get-WinEvent and find one real error.
  3. Day 3: set up a WireGuard or Tailscale link between two devices.
  4. Day 4: run a service in Docker and read its logs.
  5. Day 5: turn the week’s commands into one script with the Script Stack Generator.