Technical Reference Guide

Help Desk & Breakfix Networking On-Prem Hybrid Cloud Security Coding Languages & Databases AI & Automation
SafeJust looks — nothing on the system changes
Minor changeSmall, reversible tweak — restart, clear, grant one thing
Big changeSignificant or hard to reverse — pause and double-check scope
ProcessA checklist or decision path, not a single command
Risk
Category
Topic
No results found. Try a different search term or check your filters.
01 Help Desk & BreakfixFirst-level help desk, triage, escalation, symptom fixes, Windows and Mac repair, Office, printing, and handy tools
Apps / Taskbar / AppX
SafeInventory
Get-AppxPackage Microsoft.Windows.StartMenuExperienceHost
Get-AppxProvisionedPackage -Online | select DisplayName,PackageName

AppX/provisioned-package cmdlets diagnose Start menu, taskbar, and built-in-app problems tied to a corrupted or missing package.

Get-AppxPackage — Microsoft Learn ↗ Add-AppxPackage — Microsoft Learn ↗ MSIX/AppX deployment overview — Microsoft Learn ↗ Checked Jul 2026
Minor changeRepair / remove
Get-AppxProvisionedPackage -Online | ? DisplayName -like "*AppName*" | Remove-AppxProvisionedPackage -Online

Get-AppxPackage Microsoft.Windows.Photos | % {
  Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"
}

Removing a provisioned package doesn't remove an existing user install.

Re-registering re-links an installed app's manifest to the current user profile — the standard fix for a broken built-in Windows app.

Add-AppxPackage — Microsoft Learn ↗ Get-AppxPackage — Microsoft Learn ↗ MSIX/AppX deployment overview — Microsoft Learn ↗ Checked Jul 2026
Big changeRe-register all current-user AppX
Get-AppxPackage | % {
  Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" -ErrorAction SilentlyContinue
}

Can be noisy — not the first choice.

Bulk re-registration touches every AppX package for the current user — noisy and usually not the first thing to try.

Add-AppxPackage — Microsoft Learn ↗ Get-AppxPackage — Microsoft Learn ↗ MSIX/AppX deployment overview — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Start menu or taskbar broken after an update

  1. Identify the affected package, e.g. Get-AppxPackage Microsoft.Windows.StartMenuExperienceHost.
  2. Re-register just that package for the current user.
  3. Restart explorer.exe (or sign out/in) to reload the shell.
  4. If it persists, re-register all current-user AppX as a last resort.

New profile missing a provisioned app

  1. Check what's provisioned for new profiles: Get-AppxProvisionedPackage -Online.
  2. Re-provision the missing package if it was removed.
  3. Confirm the app appears the next time a new profile is created.
Blue Screen or Random Reboots
ProcessBlue Screen or Random Reboots
  1. Get the exact stop code from the blue screen if the user caught it, or pull it from the event log afterward.
  2. Ask about the pattern — under load (gaming, video calls), at random idle times, or right after waking from sleep?
  3. Check Reliability History and the System event log for BugCheck events around the reported times.
  4. Rule out a recent driver or Windows update installed right before the symptoms started.
  5. Run a memory diagnostic if the pattern is random and unexplained — bad RAM is a common silent cause.

Escalate when: the pattern correlates with a specific driver — try updating or rolling that driver back first; if it persists after that, it's a hardware dispatch, not a driver issue.

The exact stop code and the reliability history timeline are what actually narrow this down — guessing before checking those wastes the most time.

Get-WinEvent — Microsoft Learn ↗Stop error troubleshooting — Microsoft Learn ↗ Bug check code reference — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Blue screen with a stop code

  1. Note the stop code and any file name shown.
  2. Boot normally or into Safe Mode and check Event Viewer and the crash dump.
  3. Roll back recent drivers or updates.
  4. Run sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth.
  5. Test memory and disk if it keeps happening.

Random reboots with no blue screen

  1. Check Event Viewer for Kernel-Power 41.
  2. Check temperatures, power, and dust.
  3. Disable automatic restart to see the error.
  4. Update BIOS and drivers.
Can't Print
ProcessCan't Print
  1. Ask which printer, and whether it worked yesterday — this narrows a new problem from a longstanding one.
  2. Confirm the printer itself is powered on and shows no error on its own display.
  3. Ask if it's one user or several people printing to the same device.One user → check their PC's own print queue first.Several users → the problem is more likely the printer or print server, not any one PC.
  4. Have the user check for a stuck job in their own queue before touching the server.
  5. If the queue is clear but nothing prints, check network reachability to the printer's IP.

Escalate when: the printer's own display shows a paper jam or error but staff says it's physically clear — that's a sensor fault, treat it as a hardware ticket rather than continuing software troubleshooting.

Single-user vs. multi-user is the fork in the road for whether the PC or the print server is the actual problem.

Print troubleshooting — Microsoft Learn ↗PrintManagement module — Microsoft Learn ↗ Test-NetConnection — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

One user cannot print

  1. Confirm the right printer is selected and online.
  2. Clear the queue and restart the spooler.
  3. Remove and re-add the printer.

Nobody can print

  1. Check the print server or printer power and network.
  2. Restart the spooler on the server.
  3. Check the driver and recent updates.
CLI Tools
ProcessCLI Tools — Shells
  1. GNU Bash ↗ — is an sh-compatible shell that incorporates useful features from the Korn shell and C shell
  2. Zsh ↗ — is a shell designed for interactive use, although it is also a powerful scripting language
  3. tclsh ↗ — is a very powerful cross-platform shell, suitable for a huge range of uses
  4. bash-it ↗ — is a framework for using, developing and maintaining shell scripts and custom commands
  5. Oh My ZSH! ↗ — is the best framework for managing your Zsh configuration
  6. Oh My Fish ↗ — the Fishshell framework
  7. Starship ↗ — the cross-shell prompt written in Rust
  8. powerlevel10k ↗ — is a fast reimplementation of Powerlevel9k ZSH theme

Section "Shells" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ GNU Bash ↗ Checked Jul 2026
ProcessCLI Tools — Shell plugins
  1. z ↗ — tracks the folder you use the most and allow you to jump, without having to type the whole path
  2. fzf ↗ — is a general-purpose command-line fuzzy finder
  3. zsh-autosuggestions ↗ — Fish-like autosuggestions for Zsh
  4. zsh-syntax-highlighting ↗ — Fish shell like syntax highlighting for Zsh
  5. Awesome ZSH Plugins ↗ — A list of frameworks, plugins, themes and tutorials for ZSH

Section "Shell plugins" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ z ↗ Checked Jul 2026
ProcessCLI Tools — Managers
  1. Midnight Commander ↗ — is a visual file manager, licensed under GNU General Public License
  2. ranger ↗ — is a VIM-inspired filemanager for the console
  3. nnn ↗ — is a tiny, lightning fast, feature-packed file manager
  4. screen ↗ — is a full-screen window manager that multiplexes a physical terminal
  5. tmux ↗ — is a terminal multiplexer, lets you switch easily between several programs in one terminal
  6. tmux-cssh ↗ — is a tool to set comfortable and easy to use functionality tmux-sessions

Section "Managers" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ Midnight Commander ↗ Checked Jul 2026
ProcessCLI Tools — Text editors
  1. vi ↗ — is one of the most common text editors on Unix
  2. vim ↗ — is a highly configurable text editor
  3. emacs ↗ — is an extensible, customizable, free/libre text editor, and more
  4. micro ↗ — is a modern and intuitive terminal-based text editor
  5. neovim ↗ — is a free open source, powerful, extensible and usable code editor
  6. spacemacs ↗ — a community-driven Emacs distribution
  7. spacevim ↗ — a community-driven vim distribution

Section "Text editors" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ vi ↗ Checked Jul 2026
ProcessCLI Tools — Files and directories
  1. fd ↗ — is a simple, fast and user-friendly alternative to find
  2. ncdu ↗ — is an easy to use, fast disk usage analyzer

Section "Files and directories" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ fd ↗ Checked Jul 2026
ProcessCLI Tools — Network
  1. PuTTY ↗ — is an SSH and telnet client, developed originally by Simon Tatham
  2. Mosh ↗ — is a SSH wrapper designed to keep a SSH session alive over a volatile connection
  3. Eternal Terminal ↗ — enables mouse-scrolling and tmux commands inside the SSH session
  4. nmap ↗ — is a free and open source (license) utility for network discovery and security auditing
  5. zmap ↗ — is a fast single packet network scanner designed for Internet-wide network surveys
  6. Rust Scan ↗ — to find all open ports faster than Nmap
  7. masscan ↗ — is the fastest Internet port scanner, spews SYN packets asynchronously
  8. pbscan ↗ — is a faster and more efficient stateless SYN scanner and banner grabber
  9. hping ↗ — is a command-line oriented TCP/IP packet assembler/analyzer
  10. mtr ↗ — is a tool that combines the functionality of the 'traceroute' and 'ping' programs in a single tool
  11. mylg ↗ — utility which combines the functions of the different network probes in one diagnostic tool
  12. netcat ↗ — utility which reads and writes data across network connections, using the TCP/IP protocol
  13. socat ↗ — utility which transfers data between two objects
  14. tcpdump ↗ — is a powerful command-line packet analyzer
  15. tshark ↗ — is a tool that allows us to dump and analyze network traffic (wireshark cli)
  16. Termshark ↗ — is a simple terminal user-interface for tshark
  17. ngrep ↗ — is like GNU grep applied to the network layer
  18. netsniff-ng ↗ — is a Swiss army knife for your daily Linux network plumbing if you will
  19. sockdump ↗ — dump unix domain socket traffic
  20. stenographer ↗ — is a packet capture solution which aims to quickly spool all packets to disk
  21. tcpterm ↗ — visualize packets in TUI
  22. bmon ↗ — is a monitoring and debugging tool to capture networking related statistics and prepare them visually
  23. iptraf-ng ↗ — is a console-based network monitoring program for Linux that displays information about IP traffic
  24. vnstat ↗ — is a network traffic monitor for Linux and BSD
  25. iPerf3 ↗ — is a tool for active measurements of the maximum achievable bandwidth on IP networks
  26. ethr ↗ — is a Network Performance Measurement Tool for TCP, UDP & HTTP
  27. Etherate ↗ — is a Linux CLI based Ethernet and MPLS traffic testing tool
  28. echoip ↗ — is a IP address lookup service
  29. Nemesis ↗ — packet manipulation CLI tool; craft and inject packets of several protocols
  30. packetfu ↗ — a mid-level packet manipulation library for Ruby
  31. Scapy ↗ — packet manipulation library; forge, send, decode, capture packets of a wide number of protocols
  32. impacket ↗ — is a collection of Python classes for working with network protocols
  33. ssh-audit ↗ — is a tool for SSH server auditing
  34. aria2 ↗ — is a lightweight multi-protocol & multi-source command-line download utility
  35. iptables-tracer ↗ — observe the path of packets through the iptables chains
  36. inception ↗ — a highly configurable tool to check for whatever you like against any number of hosts
  37. mRemoteNG ↗ — a fork of mRemote, multi-tabbed PuTTy on steroids!

Section "Network" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ PuTTY ↗ Checked Jul 2026
ProcessCLI Tools — Network (DNS)
  1. dnsdiag ↗ — is a DNS diagnostics and performance measurement tools
  2. fierce ↗ — is a DNS reconnaissance tool for locating non-contiguous IP space
  3. subfinder ↗ — is a subdomain discovery tool that discovers valid subdomains for websites
  4. sublist3r ↗ — is a fast subdomains enumeration tool for penetration testers
  5. amass ↗ — is tool that obtains subdomain names by scraping data sources, crawling web archives, and more
  6. namebench ↗ — provides personalized DNS server recommendations based on your browsing history
  7. massdns ↗ — is a high-performance DNS stub resolver for bulk lookups and reconnaissance
  8. knock ↗ — is a tool to enumerate subdomains on a target domain through a wordlist
  9. dnsperf ↗ — DNS performance testing tools
  10. dnscrypt-proxy 2 ↗ — a flexible DNS proxy, with support for encrypted DNS protocols
  11. dnsdbq ↗ — API client providing access to passive DNS database systems
  12. grimd ↗ — fast dns proxy, built to black-hole internet advertisements and malware servers
  13. dnstwist ↗ — detect typosquatters, phishing attacks, fraud, and brand impersonation

Section "Network (DNS)" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ dnsdiag ↗ Checked Jul 2026
ProcessCLI Tools — Network (HTTP)
  1. curl ↗ — is a command line tool and library for transferring data with URLs
  2. kurly ↗ — is an alternative to the widely popular curl program, written in Golang
  3. HTTPie ↗ — is an user-friendly HTTP client
  4. wuzz ↗ — is an interactive cli tool for HTTP inspection
  5. h2spec ↗ — is a conformance testing tool for HTTP/2 implementation
  6. h2t ↗ — is a simple tool to help sysadmins to hardening their websites
  7. htrace.sh ↗ — is a simple Swiss Army knife for http/https troubleshooting and profiling
  8. httpstat ↗ — is a tool that visualizes curl statistics in a way of beauty and clarity
  9. httplab ↗ — is an interactive web server
  10. Lynx ↗ — is a text browser for the World Wide Web
  11. Browsh ↗ — is a fully interactive, real-time, and modern text-based browser
  12. HeadlessBrowsers ↗ — a list of (almost) all headless web browsers in existence
  13. ab ↗ — is a single-threaded command line tool for measuring the performance of HTTP web servers
  14. siege ↗ — is an http load testing and benchmarking utility
  15. wrk ↗ — is a modern HTTP benchmarking tool capable of generating significant load
  16. wrk2 ↗ — is a constant throughput, correct latency recording variant of wrk
  17. vegeta ↗ — is a constant throughput, correct latency recording variant of wrk
  18. bombardier ↗ — is a fast cross-platform HTTP benchmarking tool written in Go
  19. gobench ↗ — http/https load testing and benchmarking tool
  20. hey ↗ — HTTP load generator, ApacheBench (ab) replacement, formerly known as rakyll/boom
  21. boom ↗ — is a script you can use to quickly smoke-test your web app deployment
  22. SlowHTTPTest ↗ — is a tool that simulates some Application Layer Denial of Service attacks by prolonging HTTP
  23. gobuster ↗ — is a free and open source directory/file & DNS busting tool written in Go
  24. ssllabs-scan ↗ — command-line reference-implementation client for SSL Labs APIs
  25. http-observatory ↗ — Mozilla HTTP Observatory cli version
  26. Hurl ↗ — is a command line tool to run and test HTTP requests with plain text

Section "Network (HTTP)" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ curl ↗ Checked Jul 2026
ProcessCLI Tools — SSL
  1. openssl ↗ — is a robust, commercial-grade, and full-featured toolkit for the TLS and SSL protocols
  2. gnutls-cli ↗ — client program to set up a TLS connection to some other computer
  3. sslscan ↗ — tests SSL/TLS enabled services to discover supported cipher suites
  4. testssl.sh ↗ — testing TLS/SSL encryption anywhere on any port
  5. cipherscan ↗ — a very simple way to find out which SSL ciphersuites are supported by a target
  6. spiped ↗ — is a utility for creating symmetrically encrypted and authenticated pipes between socket addresses
  7. Certbot ↗ — is EFF's tool to obtain certs from Let's Encrypt and (optionally) auto-enable HTTPS on your server
  8. mkcert ↗ — simple zero-config tool to make locally trusted development certificates with any names you'd like
  9. certstrap ↗ — tools to bootstrap CAs, certificate requests, and signed certificates
  10. Sublert ↗ — is a security and reconnaissance tool to automatically monitor new subdomains
  11. mkchain ↗ — open source tool to help you build a valid SSL certificate chain
  12. ssl-cert-check ↗ — SSL Certification Expiration Checker

Section "SSL" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ openssl ↗ Checked Jul 2026
ProcessCLI Tools — Security
  1. SELinux ↗ — provides a flexible Mandatory Access Control (MAC) system built into the Linux kernel
  2. AppArmor ↗ — proactively protects the operating system and applications from external or internal threats
  3. grapheneX ↗ — Automated System Hardening Framework
  4. DevSec Hardening Framework ↗ — Security + DevOps: Automatic Server Hardening

Section "Security" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ SELinux ↗ Checked Jul 2026
ProcessCLI Tools — Auditing Tools
  1. ossec ↗ — actively monitoring all aspects of system activity with file integrity monitoring
  2. auditd ↗ — provides a way to track security-relevant information on your system
  3. Tiger ↗ — is a security tool that can be use both as a security audit and intrusion detection system
  4. Lynis ↗ — battle-tested security tool for systems running Linux, macOS, or Unix-based operating system
  5. LinEnum ↗ — scripted Local Linux Enumeration & Privilege Escalation Checks
  6. Rkhunter ↗ — scanner tool for Linux systems that scans backdoors, rootkits and local exploits on your systems
  7. PE-sieve ↗ — is a light-weight tool that helps to detect malware running on the system
  8. PEASS ↗ — privilege escalation tools for Windows and Linux/Unix and MacOS

Section "Auditing Tools" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ ossec ↗ Checked Jul 2026
ProcessCLI Tools — System Diagnostics/Debuggers
  1. strace ↗ — diagnostic, debugging and instructional userspace utility for Linux
  2. DTrace ↗ — is a performance analysis and troubleshooting tool
  3. ltrace ↗ — is a library call tracer, used to trace calls made by programs to library functions
  4. ptrace-burrito ↗ — is a friendly wrapper around ptrace
  5. perf-tools ↗ — performance analysis tools based on Linux perf_events (aka perf) and ftrace
  6. bpftrace ↗ — high-level tracing language for Linux eBPF
  7. sysdig ↗ — system exploration and troubleshooting tool with first class support for containers
  8. Valgrind ↗ — is an instrumentation framework for building dynamic analysis tools
  9. gperftools ↗ — high-performance multi-threaded malloc() implementation, plus some performance analysis tools
  10. glances ↗ — cross-platform system monitoring tool written in Python
  11. htop ↗ — interactive text-mode process viewer for Unix systems. It aims to be a better 'top'
  12. bashtop ↗ — Linux resource monitor written in pure Bash
  13. nmon ↗ — a single executable for performance monitoring and data analysis
  14. atop ↗ — ASCII performance monitor. Includes statistics for CPU, memory, disk, swap, network, and processes
  15. lsof ↗ — displays in its output information about files that are opened by processes
  16. FlameGraph ↗ — stack trace visualizer
  17. lsofgraph ↗ — convert Unix lsof output to a graph showing FIFO and UNIX interprocess communication
  18. rr ↗ — is a lightweight tool for recording, replaying and debugging execution of applications
  19. Performance Co-Pilot ↗ — a system performance analysis toolkit
  20. hexyl ↗ — a command-line hex viewer
  21. Austin ↗ — Python frame stack sampler for CPython

Section "System Diagnostics/Debuggers" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ strace ↗ Checked Jul 2026
ProcessCLI Tools — Log Analyzers
  1. angle-grinder ↗ — slice and dice log files on the command line
  2. lnav ↗ — log file navigator with search and automatic refresh
  3. GoAccess ↗ — real-time web log analyzer and interactive viewer that runs in a terminal
  4. ngxtop ↗ — real-time metrics for nginx server

Section "Log Analyzers" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ angle-grinder ↗ Checked Jul 2026
ProcessCLI Tools — Databases
  1. usql ↗ — universal command-line interface for SQL databases
  2. pgcli ↗ — postgres CLI with autocompletion and syntax highlighting
  3. mycli ↗ — terminal client for MySQL with autocompletion and syntax highlighting
  4. litecli ↗ — SQLite CLI with autocompletion and syntax highlighting
  5. mssql-cli ↗ — SQL Server CLI with autocompletion and syntax highlighting
  6. OSQuery ↗ — is a SQL powered operating system instrumentation, monitoring, and analytics framework
  7. pgsync ↗ — sync data from one Postgres database to another
  8. iredis ↗ — a terminal client for redis with autocompletion and syntax highlighting
  9. SchemaCrawler ↗ — generates an E-R diagram of your database

Section "Databases" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ usql ↗ Checked Jul 2026
ProcessCLI Tools — TOR
  1. Nipe ↗ — script to make Tor Network your default gateway
  2. multitor ↗ — a tool that lets you create multiple TOR instances with a load-balancing

Section "TOR" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ Nipe ↗ Checked Jul 2026
ProcessCLI Tools — Messengers/IRC Clients
  1. Irssi ↗ — is a free open source terminal based IRC client
  2. WeeChat ↗ — is an extremely extensible and lightweight IRC client

Section "Messengers/IRC Clients" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ Irssi ↗ Checked Jul 2026
ProcessCLI Tools — Productivity
  1. taskwarrior ↗ — task management system, todo list

Section "Productivity" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ taskwarrior ↗ Checked Jul 2026
ProcessCLI Tools — Other
  1. sysadmin-util ↗ — tools for Linux/Unix sysadmins
  2. incron ↗ — is an inode-based filesystem notification technology
  3. lsyncd ↗ — synchronizes local directories with remote targets (Live Syncing Daemon)
  4. GRV ↗ — is a terminal based interface for viewing Git repositories
  5. Tig ↗ — text-mode interface for Git
  6. tldr ↗ — simplified and community-driven man pages
  7. archiver ↗ — easily create and extract .zip, .tar, .tar.gz, .tar.bz2, .tar.xz, .tar.lz4, .tar.sz, and .rar
  8. commander.js ↗ — minimal CLI creator in JavaScript
  9. gron ↗ — make JSON greppable!
  10. bed ↗ — binary editor written in Go

Section "Other" of the "CLI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

CLI Tools chapter ↗ Source list — GitHub ↗ sysadmin-util ↗ Checked Jul 2026
Common issue walkthrough

Find a tool in the "CLI Tools" chapter

  1. Open the matching section below.
  2. Open the tool link and read its README or manual.
  3. Test it on a lab or non-production system first.
  4. Record what you used in the ticket or change note.
Common Symptom → Fix Path
ProcessComputer won't boot / stuck at logo
  1. Note exactly where it stalls (logo, spinning dots, blue screen, black screen) and any error code.
  2. Try a hard power cycle: hold power 10s, then restart.
  3. Boot into WinRE / Safe Mode if it won't reach the desktop.
  4. From WinRE: DISM /RestoreHealth, then sfc /scannow (see Windows Repair / Updates).
  5. After recovery, check Reliability/System events for the root cause (see Event Logs / Crash Investigation).
  6. Escalate to hardware diagnostics (RAM/disk test) if repair doesn't resolve it.

This is the standard order of operations for a boot failure — cheapest, least destructive steps first, hardware diagnostics last.

Windows Recovery Environment — Microsoft Learn ↗ Get-WinEvent — Microsoft Learn ↗ Troubleshoot Windows — Microsoft Learn ↗ Checked Jul 2026
ProcessNo internet access
  1. Confirm the adapter has a valid IP (see Networking / DNS / VPN / Wireless).
  2. Test a specific known-good destination on the actual port needed.
  3. Check DNS resolution separately from raw connectivity.
  4. If Wi-Fi, check signal/auth state: netsh wlan show interfaces.
  5. If it's site-wide, check the firewall/Meraki uplink before assuming it's one device (see Firewalls, Cisco Meraki).

This is the fast single-device pass — if it doesn't resolve it, or you're dealing with multiple devices, escalate to "Networking issue" (Escalation Decision Trees) for DHCP/APIPA and tracert-based diagnosis.

Splitting "can I reach anything" from "does DNS work" from "is Wi-Fi authenticated" narrows a vague complaint to one specific layer fast.

Test-NetConnection — Microsoft Learn ↗ Get-WinEvent — Microsoft Learn ↗ Troubleshoot Windows — Microsoft Learn ↗ Checked Jul 2026
ProcessApp won't open or keeps crashing
  1. Confirm no hung process from a prior session is blocking a new launch.
  2. Check the Application event log for the exact crash ID and faulting module (see Event Logs / Crash Investigation).
  3. For Office apps, try Quick Repair then Online Repair (see Office / Outlook).
  4. Check for a pending update or driver conflict introduced around the same time.
  5. Recreate the user profile only as a last resort if it's isolated to one profile.

The faulting-module name from the crash event is usually the single fastest way to tell a corrupt install apart from a driver conflict.

Get-WinEvent — Microsoft Learn ↗ Troubleshoot Windows — Microsoft Learn ↗ Microsoft Support ↗ Checked Jul 2026
ProcessPrinter not printing
  1. Check for stuck jobs and clear them (see Printers / Spooler).
  2. Restart the print spooler service.
  3. Confirm the printer/driver is actually registered and reachable on the network.
  4. Reinstall the printer with the correct driver if the queue keeps corrupting.

This is the fast single-printer pass — for multiple users affected or a shared print server, escalate to "Printer & print server issue" (Escalation Decision Trees).

A corrupt driver causing repeat queue jams is the single most common root cause behind "printing worked yesterday" tickets.

Print troubleshooting — Microsoft Learn ↗ Get-WinEvent — Microsoft Learn ↗ Troubleshoot Windows — Microsoft Learn ↗ Checked Jul 2026
ProcessSystem running slow
  1. Check CPU/RAM baseline (see Devices / Drivers / Hardware).
  2. Check free disk space — a nearly-full system drive is a very common slowdown cause (see VM & Storage Health).
  3. Check for a runaway process by CPU/working set.
  4. Confirm Windows Update isn't mid-install in the background.
  5. Check startup app load in Task Manager's Startup tab.

Disk space and startup bloat resolve more "slow computer" tickets than anything hardware-related — check those two before assuming it needs a rebuild.

Get-Process — Microsoft Learn ↗ Get-WinEvent — Microsoft Learn ↗ Troubleshoot Windows — Microsoft Learn ↗ Checked Jul 2026
ProcessCan't log in / forgot password
  1. Confirm lockout vs. genuinely wrong password (see Active Directory / Domain / Login).
  2. For AD accounts, unlock if locked out: Unlock-ADAccount.
  3. For a forgotten password, reset and force a change at next sign-in.
  4. For Entra/M365 accounts, confirm Conditional Access isn't blocking the sign-in location or device.

Lockout and "wrong password" look identical to the user but need different fixes — always confirm which one you're dealing with first.

Unlock-ADAccount — Microsoft Learn ↗ Get-WinEvent — Microsoft Learn ↗ Troubleshoot Windows — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Ticket doesn't clearly match one of these symptoms

  1. Read the exact wording the user used — it often hints at which symptom category actually fits.
  2. Check whether more than one symptom is happening together (e.g. slow system + can't log in) — that combination can point to a shared root cause like a failing disk.
  3. Fall back to First-Response Triage if nothing here fits cleanly.
  4. If it turns out to be hardware- or vendor-specific, hand off to Escalation Decision Trees instead of continuing to guess.
Communication Systems
ProcessCall quality problems (choppy, echo, dropped calls)
  1. Ask: one user or many, wired or Wi-Fi, VPN or not, and what time.
  2. Check the headset or phone and test with another one.
  3. Move to wired Ethernet and close bandwidth-heavy apps.
  4. Check latency, jitter, and packet loss with ping -t and pathping.
  5. In Teams check Call Quality Dashboard / Call Analytics for that call.
  6. Check QoS and that required ports and endpoints are allowed through the firewall.
  7. If many users are affected, check the internet circuit and the voice/Teams service health.

Voice needs low latency (under ~150 ms), jitter (under ~30 ms), and packet loss (under ~1%). Most problems are Wi-Fi, VPN, or bandwidth.

Teams call quality — Microsoft Learn ↗ Prepare your network for Teams — Microsoft Learn ↗ Test-NetConnection — Microsoft Learn ↗ Checked Jul 2026
SafeBasic network quality checks
ping -t gateway-or-server
pathping -n server
Test-NetConnection server -Port 443
nslookup server
ipconfig /all

pathping shows where loss or delay starts along the path.

pathping — Microsoft Learn ↗ Test-NetConnection — Microsoft Learn ↗ ipconfig — Microsoft Learn ↗ Checked Jul 2026
ProcessSet up a user for email, phone, and chat
  1. Create the account and mailbox, and add to the correct groups and distribution lists.
  2. Assign the licenses (email, Teams, phone if used).
  3. Assign the phone number or desk phone and test inbound and outbound calls.
  4. Set voicemail, greeting, and forwarding.
  5. Sign in on the user's PC and phone and test Teams, Outlook, and calendar.
  6. Document the numbers, devices, and groups in the ticket.
ProcessEmail not flowing — quick triage
  1. Check Microsoft 365 / Exchange service health.
  2. Send a test message internally and externally.
  3. Run a message trace to see where it stopped.
  4. Check the connector, SPF/DKIM/DMARC, and any email security gateway quarantine.
  5. Check mailbox size and rules for the user.
  6. Escalate with the trace ID and time.
ProcessConference room or headset device checks
  1. Confirm power and network (link light, IP address).
  2. Check it is signed in and updated.
  3. Test audio in and out and the camera.
  4. Check the room account and calendar.
  5. Reboot the device; reset only with approval.
  6. Record the model, serial, and location.
Common issue walkthrough

Calls are choppy

  1. Test with another headset and wired network.
  2. Run pathping to the service.
  3. Check Call Quality Dashboard.
  4. Escalate with the data.
Computer Won't Boot
ProcessComputer Won't Boot
  1. Ask the caller exactly what they see — a manufacturer logo that hangs, a black screen, a blue screen, or repeated restarts.Blue screen with a stop code → get the exact code before doing anything else. It points to the specific driver or hardware subsystem at fault.
  2. Confirm nothing changed recently — a Windows update, a new peripheral, or a recent power outage.
  3. Have them try a hard power cycle: hold the power button 10 seconds, unplug (and remove a removable battery) for 30 seconds, then power on.
  4. If it reaches Windows Recovery Environment automatically after repeated failures, walk them through Startup Repair.
  5. If you have remote or physical access, run the standard repair order: DISM /RestoreHealth then sfc /scannow.
  6. Reboot and confirm stability. Check Reliability History for repeat errors before closing the ticket.

Escalate when: it still won't boot after repair — this becomes a hardware/onsite dispatch case. Hand off to Escalation Decision Trees for the warranty-based routing.

Cheapest, least-destructive steps first — hardware diagnostics last. This mirrors the repair order used elsewhere in Windows Repair / Updates.

Windows Recovery Environment technical reference — Microsoft Learn ↗BCDEdit options — Microsoft Learn ↗ Troubleshoot startup — Microsoft Support ↗ Checked Jul 2026
Common issue walkthrough

Stuck at logo or boot loop

  1. Hard power off and on; unplug peripherals.
  2. Boot to Windows Recovery and run Startup Repair.
  3. Try Safe Mode and System Restore.
  4. Rebuild BCD if needed.

No power or no display

  1. Check power cable, outlet, and battery.
  2. Reseat memory and cables if safe.
  3. Test with another monitor or cable.
  4. Escalate for hardware repair.
Devices / Drivers / Hardware
SafeProblem devices & drivers
Get-PnpDevice | ? Status -ne "OK" | ft FriendlyName,Class,Status,Problem -Auto
pnputil /enum-devices /connected
Get-CimInstance Win32_PnPSignedDriver | ? DeviceName -like "*camera*" |
  select DeviceName,DriverVersion,DriverProviderName,InfName
Get-WinEvent -LogName Microsoft-Windows-UserPnp/DeviceInstall -MaxEvents 50 |
  select TimeCreated,Id,ProviderName,Message

Get-PnpDevice and pnputil are the fastest way to spot a device sitting in an error state (Problem code) before chasing driver logs.

Get-PnpDevice — Microsoft Learn ↗ powercfg command-line options — Microsoft Learn ↗ Device Manager error codes — Microsoft Learn ↗ Checked Jul 2026
SafeHardware baseline
Get-CimInstance Win32_Processor | select Name,NumberOfCores,NumberOfLogicalProcessors
Get-CimInstance Win32_PhysicalMemory | select Capacity,Speed,Manufacturer,PartNumber
powercfg /batteryreport /output "$env:USERPROFILE\Desktop\battery-report.html"
powercfg /sleepstudy /output "$env:USERPROFILE\Desktop\sleepstudy.html"

CPU/RAM inventory plus battery and modern-standby reports form the standard hardware-evidence bundle for upgrade or power complaints.

powercfg command-line options — Microsoft Learn ↗ Get-PnpDevice — Microsoft Learn ↗ Device Manager error codes — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Device shows an error (camera, dock, etc.)

  1. Find the problem device and error code: Get-PnpDevice | ? Status -ne "OK".
  2. Check the current driver version: Get-CimInstance Win32_PnPSignedDriver.
  3. Update or roll back the driver via Device Manager or pnputil.
  4. Recheck Get-PnpDevice status after the driver change.

Laptop battery draining fast or not charging

  1. Generate a battery report: powercfg /batteryreport.
  2. Check design capacity vs. full-charge capacity in the report.
  3. If drain happens during sleep, generate a sleep study: powercfg /sleepstudy.
  4. Escalate to hardware replacement if battery health is significantly degraded.
Documentation (IT Glue)
ProcessFind client documentation before starting a change
  1. Search your documentation platform for the client's network diagram, credentials (via the secure vault), and prior related tickets.
  2. Confirm the documentation matches what you actually find on the system.
  3. Flag or update the documentation immediately if it's stale — don't leave it for later.

Stale documentation is worse than no documentation — it actively misleads the next person who trusts it.

Checking documentation first prevents a change based on an outdated network diagram or an already-rotated credential.

IT Glue API reference ↗ IT Glue help center ↗ Documentation best practices — Atlassian ↗ Checked Jul 2026
ProcessKeep documentation in sync after a fix
  1. Update your documentation platform with any configuration changes made.
  2. Attach or reference the PSA ticket number for traceability.
  3. Note any new access or credentials created during the fix.

This is the same habit as the ticket note template above — the goal is that the next person (including future you) doesn't have to rediscover what changed.

Closing the loop between your ticketing system and your documentation platform is what keeps it trustworthy for the next incident.

IT Glue API reference ↗ IT Glue help center ↗ Documentation best practices — Atlassian ↗ Checked Jul 2026
Common issue walkthrough

Before a change

  1. Find the client's existing documentation.
  2. Note current configuration and passwords location.
  3. Take a snapshot or backup if relevant.

After a change

  1. Update the documentation with what changed and why.
  2. Attach screenshots or output.
  3. Link the ticket.
Escalation & Documentation
ProcessWhat to capture before escalating
  1. Exact error text/code (screenshot, not paraphrased)
  2. Timestamp of first occurrence
  3. Steps to reproduce, if reproducible
  4. What's already been tried, and the result of each
  5. Scope: one user / one site / org-wide
  6. Session transcript if you ran commands: Start-Transcript

Handing this off complete the first time avoids the back-and-forth that stalls escalated tickets the most.

Escalation tickets that arrive with this checklist already filled in get resolved measurably faster than ones that require follow-up questions.

Start-Transcript — Microsoft Learn ↗ ITIL incident management — Atlassian ↗ Documentation best practices — Atlassian ↗ Checked Jul 2026
ProcessWhen to escalate
  1. Risk of data loss if you proceed further
  2. Confirmed or suspected security incident (see Security Incident Response)
  3. Outage affecting multiple users or an entire site
  4. Requires vendor engagement (hardware warranty, licensed support)
  5. Exceeds your current access or change-authorization level

When in doubt on a security-flavored issue, escalate early — the cost of a false alarm is much lower than a missed compromise.

Clear escalation criteria reduce both under-escalation (sitting on a real incident too long) and over-escalation (routine tickets clogging a specialist queue).

Incident response overview — Microsoft Learn ↗ Start-Transcript — Microsoft Learn ↗ ITIL incident management — Atlassian ↗ Checked Jul 2026
ProcessTicket note template
Symptom:      <what the user reported, in their words>
Scope:        <one user / one site / org-wide>
Steps taken:  <commands run and what each showed>
Result:       <resolved / workaround applied / escalated>
Next action:  <what still needs to happen, and by whom>

A consistent structure makes tickets scannable for the next person who picks it up — including future you.

This mirrors the structure most ITSM tools (ServiceNow, Freshservice, etc.) expect for a clean resolution note.

Export-Csv — Microsoft Learn ↗ Start-Transcript — Microsoft Learn ↗ ITIL incident management — Atlassian ↗ Checked Jul 2026
ProcessBillable onsite escalation (approval needed)
  1. Confirm the issue cannot be resolved remotely.
  2. Add an internal note to the ticket: billing approval needed, approver name, and the physical address.
  3. Assign the ticket to the supervisor and ping them in chat.
  4. Supervisor adds their approval note and reassigns the ticket.
  5. Dispatch only after the approval note is on the ticket.
  6. For closed projects or work orders, route to the warranty/rework path instead of opening a new billable ticket.

Generic version of an approval-gated field-service escalation. Adjust names and queues to your own PSA.

ITIL incident management — Atlassian ↗ Start-Transcript — Microsoft Learn ↗ Documentation best practices — Atlassian ↗ Checked Jul 2026
Common issue walkthrough

Closing out a ticket that needed escalation

  1. Confirm you've captured everything on the "what to capture" checklist before handing off.
  2. Fill out the ticket note template rather than a one-line summary.
  3. Confirm the receiving team or vendor actually has what they need — don't just forward and disappear.
  4. Follow up once it's resolved to confirm the fix actually stuck.
Escalation Decision Trees
ProcessSoftware issue — supported vs. unsupported
  1. Check ticket history first — has this been worked before, and has a vendor already engaged?
  2. If it's software you support: try the least invasive fix first (clear cache, update OS/drivers).
  3. Check the vendor's own update/diagnostic tool before deeper troubleshooting (e.g. HP Image Assistant, Dell SupportAssist).
  4. Still unresolved? Open a ticket directly with Microsoft or the manufacturer.
  5. If it's software you don't support: contact the vendor directly rather than troubleshooting it yourself — coordinate admin access if they need it, and confirm resolution with the client before closing.

Knowing what you do and don't support up front saves time that would otherwise go into troubleshooting something outside your scope.

A clear supported/unsupported line prevents both under-delivering (giving up too early on something you should fix) and scope creep (spending hours on third-party software that isn't covered).

Microsoft 365 support resources — Microsoft Learn ↗ Print troubleshooting — Microsoft Learn ↗ ITIL incident management — Atlassian ↗ Checked Jul 2026
ProcessHardware & peripheral issue
  1. Check for a firmware/driver update from the manufacturer first.
  2. Get the exact error code before assuming a diagnosis.
  3. For peripherals: reseat cables, check for physical damage, and swap in a known-good unit to isolate the fault.
  4. Power-cycle (or a full power drain) before dispatching anyone onsite.
  5. Escalate onsite repair/replacement based on warranty status — in-warranty goes to the manufacturer or field service, out-of-warranty needs approval first.

Isolating whether it's the device, the cable, or the port (by swapping a known-good component) is usually faster than researching the exact error code first.

Warranty status determines the entire escalation path, so confirm it early — it changes whether you're routing to the manufacturer for free or needing billing approval first.

HP Image Assistant ↗ Print troubleshooting — Microsoft Learn ↗ ITIL incident management — Atlassian ↗ Checked Jul 2026
ProcessPrinter & print server issue
  1. Single user: ping the printer's IP, update drivers, restart the PC, and confirm the user's print codes/authorization on the device itself.
  2. Multiple users on one printer: reboot the printer and check its embedded web admin console for job/error logs before touching the print server.
  3. If it's the print server itself, restart it only with approval — it affects everyone printing through it.
  4. Rule out the underlying network before assuming it's the printer.

Single-user vs. multi-user is the fork in the road — it tells you whether to work the PC or the print server first. For a single user with no server involved, "Printer not printing" (Common Symptom → Fix Path) is the faster first pass.

Checking the printer's own embedded web admin console for job/error logs is often faster than guessing from symptoms alone, and works even when the print server is unreachable.

Print troubleshooting — Microsoft Learn ↗ ITIL incident management — Atlassian ↗ Troubleshoot Windows — Microsoft Learn ↗ Checked Jul 2026
ProcessNetworking issue
  1. Single device: ping it, check DHCP, and run a tracert to see where the path breaks.
  2. Rule out DNS specifically: ipconfig /flushdns, and if you run a DNS security service (e.g. Cisco Umbrella), test with it temporarily disabled to isolate the cause.
  3. Multiple devices: an APIPA address (169.x.x.x) points straight to a DHCP problem — check the DHCP server/scope first.
  4. Tracert from the DC to a known-good external IP (e.g. 8.8.8.8) — the first hop is normally the internal gateway; the second or third is typically the first external hop.
  5. Confirm subnet/gateway settings on the DC, and check for a firewall IP that differs from the gateway.
  6. ISP issue: restart the modem/firewall before opening a ticket with the carrier.

An APIPA address on multiple devices at once is one of the most reliable single signals that DHCP — not the individual devices — is the actual problem. For a quicker first pass on a single device, start with "No internet access" (Common Symptom → Fix Path) instead.

Reading tracert hop-by-hop (internal gateway, then first external hop) pinpoints whether a break is inside your network or upstream at the ISP.

tracert — Microsoft Learn ↗ Print troubleshooting — Microsoft Learn ↗ ITIL incident management — Atlassian ↗ Checked Jul 2026
ProcessVM / RDP issue
  1. VM, single user: reboot the VM, then check for OS/VM version updates and update the user's network drivers.
  2. VM, multiple users: reboot the VM, check for OS/VM updates, and check host resource allocation/availability before assuming a software fault.
  3. RDP: verify the target address replies (ping/tracert), confirm the client is on the company network or VPN, and confirm Remote Desktop is actually enabled on the target device.

A VM problem affecting multiple users points toward the host (resources, updates) rather than any one guest OS — check host-level health before troubleshooting inside the VM.

Separating single-user from multi-user VM symptoms is the fastest way to tell a guest-OS problem apart from a host-level resource or update issue.

Restart-VM — Microsoft Learn ↗ Print troubleshooting — Microsoft Learn ↗ ITIL incident management — Atlassian ↗ Checked Jul 2026
Common issue walkthrough

Picking the right decision tree for an ambiguous ticket

  1. Identify the category first — software, hardware, printer, network, or VM/RDP.
  2. If it spans more than one (e.g. "can't print over VPN"), work the networking tree first, since connectivity issues cascade into everything else.
  3. Follow the matching tree step by step rather than jumping straight to the escalation step.
  4. Note which path you followed in the ticket — it saves the next person from re-diagnosing from scratch.
Event Logs / Crash Investigation
SafeApp crashes & unexpected shutdowns
Get-WinEvent -FilterHashtable @{LogName="Application"; StartTime=(Get-Date).AddDays(-30)} |
  ? {$_.Id -in 1000,1001} | select TimeCreated,Id,ProviderName,Message

Get-WinEvent -FilterHashtable @{LogName="System"; Id=41,1074,6008; StartTime=(Get-Date).AddDays(-30)} |
  select TimeCreated,Id,ProviderName,Message

Event IDs 1000/1001 (Application) flag app crashes; System IDs 41/1074/6008 flag unexpected shutdowns and reboots.

Get-WinEvent — Microsoft Learn ↗ Export-Csv — Microsoft Learn ↗ Checked Jul 2026
SafeExport evidence bundle
$ev = Get-WinEvent -FilterHashtable @{LogName="Application"; StartTime=(Get-Date).AddDays(-14)}
$ev | Export-Csv "$env:USERPROFILE\Desktop\ApplicationEvents.csv" -NoTypeInformation

Get-ScheduledTask | ? TaskName -match "backup|sync|update" | select TaskName,TaskPath,State

Exporting filtered events to CSV is the standard way to attach crash/reboot evidence to a ticket.

Export-Csv — Microsoft Learn ↗ Get-WinEvent — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

App keeps crashing — need root cause

  1. Pull crash events (IDs 1000/1001) from the Application log for the relevant window.
  2. Cross-reference with any Windows Update or driver install around the same time.
  3. Export and attach findings to the ticket.
  4. Escalate to the vendor with the exact faulting module from the event detail.

Machine keeps rebooting unexpectedly

  1. Pull System log events for IDs 41/1074/6008.
  2. Look for a pattern — time of day, or correlation with scheduled tasks.
  3. Rule out a pending update or driver crash as the trigger.
Excel & Visio Tips
ProcessExcel lookups and cleanup for support data
  1. Look up values: =XLOOKUP(A2, Sheet2!A:A, Sheet2!B:B, "not found").
  2. Find duplicates: Conditional Formatting > Highlight Cells > Duplicate Values, or =COUNTIF(A:A,A2)>1.
  3. Remove spaces and hidden characters: =TRIM(CLEAN(A2)).
  4. Split a column: Data > Text to Columns.
  5. Combine/clean large exports: Data > Get Data (Power Query).
  6. Summarize: Insert > PivotTable.

The Excel features used most to compare exports, find duplicates, and summarize job or ticket data.

XLOOKUP — Microsoft Support ↗ Excel help — Microsoft Support ↗ Power Query — Microsoft Support ↗ Checked Jul 2026
ProcessDraw a quick network or process diagram in Visio
  1. Open Visio and pick a Basic Network Diagram or Basic Flowchart template.
  2. Drag shapes onto the page and connect them with connectors.
  3. Label devices with name and IP, or steps with short text.
  4. Group by site or layer; save and export as PDF or PNG for the ticket or documentation.

Simple diagrams make handoffs and documentation clearer.

Visio support — Microsoft ↗ Excel help — Microsoft Support ↗ Power Query — Microsoft Support ↗ Checked Jul 2026
SafeExcel formulas used most often
=XLOOKUP(A2,Sheet2!A:A,Sheet2!B:B,"not found")
=VLOOKUP(A2,Sheet2!A:B,2,FALSE)
=COUNTIF(A:A,A2)
=SUMIFS(C:C,A:A,"Open",B:B,">="&DATE(2026,11,1))
=TRIM(CLEAN(A2))
=TEXT(A2,"yyyy-mm-dd")
=IFERROR(B2/C2,0)
=LEN(A2)
=TEXTJOIN(",",TRUE,A2:A20)

Lookup, count, sum-by-condition, and clean-up formulas for reconciling exports and building reports.

XLOOKUP — Microsoft Support ↗ Excel functions by category — Microsoft Support ↗ Excel help — Microsoft Support ↗ Checked Jul 2026
ProcessWord: build a clean runbook or procedure
  1. Use built-in Heading styles for every section so the navigation pane and table of contents work.
  2. Insert a table of contents (References > Table of Contents).
  3. Number steps with a list style, not typed numbers.
  4. Use Track Changes (Review) when others will edit; accept or reject before final.
  5. Add screenshots with captions and keep them small; hide anything with PHI or passwords.
  6. Save as PDF for read-only distribution and keep the .docx as the source.

Consistent structure makes procedures easy to find, update, and review.

Word help — Microsoft Support ↗ Track changes — Microsoft Support ↗ Excel help — Microsoft Support ↗ Checked Jul 2026
Common issue walkthrough

Compare two exports

  1. Clean both with TRIM/CLEAN.
  2. Use XLOOKUP to match on the key.
  3. Filter for not found.
  4. Review the differences.
First-Level Help Desk
ProcessTicket intake and priority
  1. Record who, what, when, how many affected, and the exact error.
  2. Set priority: P1 outage or data/security risk; P2 major function impaired; P3 single user or workaround exists; P4 request or question.
  3. Tell the user what to expect and when.
  4. Work in order of priority, then age.
  5. Update the ticket at each change and before you hand it off.
  6. Close with cause, fix, and how to prevent it.
ProcessVerify identity before resetting a password
  1. Use the approved method: call back to a number on file, manager approval, or the self-service portal.
  2. Never reset based only on an email or a chat message.
  3. Use a temporary password and force a change at next sign-in.
  4. Do not read passwords aloud or put them in the ticket.
  5. Record who was verified and how.

Password resets are a common social-engineering target, especially where PHI is stored.

HIPAA Security Rule — HHS ↗ Password guidance — NIST ↗ ITIL incident management — Atlassian ↗ Checked Jul 2026
ProcessRemote support session routine
  1. Get the user's permission and explain what you will do.
  2. Connect using the approved remote tool.
  3. Close or hide windows with PHI you do not need.
  4. Fix the problem, then confirm with the user that it works.
  5. Log what you changed and disconnect.
  6. Do not leave any remote tools or files behind.

A routine that keeps remote sessions safe and well documented.

ITIL incident management — Atlassian ↗ HIPAA Security Rule — HHS ↗ Windows remote assistance — Microsoft Support ↗ Checked Jul 2026
ProcessCommon first-level checks
  1. Restart the app, then the computer, if they have not already.
  2. Check network (wired/Wi-Fi), VPN, and whether others are affected.
  3. Check account status (locked, expired, disabled) and password.
  4. Check disk space, updates, and printer/queue basics.
  5. Try another browser or profile for web problems.
  6. Search the knowledge base and past tickets.
  7. Escalate with notes if not solved in the time target.
Common issue walkthrough

User cannot sign in

  1. Check account status (locked, expired, disabled).
  2. Verify identity, then reset.
  3. Test the sign-in with the user.
  4. Note the cause in the ticket.
First-Response Triage
SafeCapture a system baseline
Get-ComputerInfo | select CsName,OsName,OsVersion,WindowsProductName
Get-Date

Do this before changing anything — it's the reference point for everything that follows.

A fast snapshot of what machine, OS build, and time you're dealing with, before any troubleshooting steps could change the picture.

Get-ComputerInfo — Microsoft Learn ↗ Get-WinEvent — Microsoft Learn ↗ M365 Service Health — Microsoft Learn ↗ Checked Jul 2026
SafeCapture recent errors around the report time
Get-WinEvent -FilterHashtable @{LogName="Application","System"; StartTime=(Get-Date).AddHours(-4)} |
  select TimeCreated,Id,ProviderName,Message -First 50

Narrow the window to just before/after the user noticed the problem — pulling the full log is noisy.

Correlating the exact error timestamp with what the user reports is often faster than reproducing the issue yourself.

Get-WinEvent — Microsoft Learn ↗ Get-ComputerInfo — Microsoft Learn ↗ M365 Service Health — Microsoft Learn ↗ Checked Jul 2026
SafeCheck for recent changes
Get-HotFix | sort InstalledOn -Descending | select -First 10
gpresult /r

A recent patch, policy push, or config change is the root cause far more often than random hardware failure.

Most "it just started happening" tickets trace back to something that changed in the last 24–72 hours — check this early, not last.

gpresult — Microsoft Learn ↗ Get-ComputerInfo — Microsoft Learn ↗ Get-WinEvent — Microsoft Learn ↗ Checked Jul 2026
ProcessConfirm scope — one user, one site, or org-wide
  1. One user -> check their account/device specifically
  2. One site -> check that site's firewall / Meraki uplink / ISP
  3. Org-wide -> check shared infrastructure: DCs, M365 service health, DNS

Scope changes the whole approach — don't dig into one laptop's config if it turns out to be a site-wide outage.

Establishing blast radius in the first two minutes prevents wasted time diagnosing a symptom instead of the actual cause.

Microsoft 365 Service Health — Microsoft Learn ↗ Get-ComputerInfo — Microsoft Learn ↗ Get-WinEvent — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

New, unfamiliar issue reported — full end-to-end triage

  1. Capture the baseline and exact error text before touching anything.
  2. Pull recent events around the reported time window.
  3. Check for recent patches, policy pushes, or config changes.
  4. Establish scope — one user, one site, or org-wide — since that determines which section of this guide to open next.
  5. Work the matching Common Symptom → Fix Path entry, or jump straight to the relevant platform section if the cause is already obvious.
  6. If unresolved after the quick-fix tier, move to Escalation & Documentation and capture evidence before handing off.
GUI Tools
ProcessGUI Tools — Terminal emulators
  1. Guake ↗ — is a dropdown terminal made for the GNOME desktop environment
  2. Terminator ↗ — is based on GNOME Terminal, useful features for sysadmins and other users
  3. Kitty ↗ — is a GPU based terminal emulator that supports smooth scrolling and images
  4. Alacritty ↗ — is a fast, cross-platform, OpenGL terminal emulator

Section "Terminal emulators" of the "GUI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

GUI Tools chapter ↗ Source list — GitHub ↗ Guake ↗ Checked Jul 2026
ProcessGUI Tools — Network
  1. Wireshark ↗ — is the world’s foremost and widely-used network protocol analyzer
  2. Ettercap ↗ — is a comprehensive network monitor tool
  3. EtherApe ↗ — is a graphical network monitoring solution
  4. Packet Sender ↗ — is a networking utility for packet generation and built-in UDP/TCP/SSL client and servers
  5. Ostinato ↗ — is a packet crafter and traffic generator
  6. JMeter™ ↗ — open source software to load test functional behavior and measure performance
  7. locust ↗ — scalable user load testing tool written in Python

Section "Network" of the "GUI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

GUI Tools chapter ↗ Source list — GitHub ↗ Wireshark ↗ Checked Jul 2026
ProcessGUI Tools — Browsers
  1. TOR Browser ↗ — protect your privacy and defend yourself against network surveillance and traffic analysis

Section "Browsers" of the "GUI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

GUI Tools chapter ↗ Source list — GitHub ↗ TOR Browser ↗ Checked Jul 2026
ProcessGUI Tools — Password Managers
  1. KeePassXC ↗ — store your passwords safely and auto-type them into your everyday websites and apps
  2. Bitwarden ↗ — open source password manager with built-in sync
  3. Vaultwarden ↗ — unofficial Bitwarden compatible server written in Rust

Section "Password Managers" of the "GUI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

GUI Tools chapter ↗ Source list — GitHub ↗ KeePassXC ↗ Checked Jul 2026
ProcessGUI Tools — Messengers/IRC Clients
  1. HexChat ↗ — is an IRC client based on XChat
  2. Pidgin ↗ — is an easy to use and free chat client used by millions

Section "Messengers/IRC Clients" of the "GUI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

GUI Tools chapter ↗ Source list — GitHub ↗ HexChat ↗ Checked Jul 2026
ProcessGUI Tools — Messengers (end-to-end encryption)
  1. Signal ↗ — is an encrypted communications app
  2. Wire ↗ — secure messaging, file sharing, voice calls and video conferences
  3. TorChat ↗ — decentralized anonymous instant messenger on top of Tor Hidden Services
  4. Matrix ↗ — an open network for secure, decentralized, real-time communication

Section "Messengers (end-to-end encryption)" of the "GUI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

GUI Tools chapter ↗ Source list — GitHub ↗ Signal ↗ Checked Jul 2026
ProcessGUI Tools — Text editors
  1. Sublime Text ↗ — is a lightweight, cross-platform code editor known for its speed, ease of use
  2. Visual Studio Code ↗ — an open-source and free source code editor developed by Microsoft
  3. Atom ↗ — a hackable text editor for the 21st Century

Section "Text editors" of the "GUI Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

GUI Tools chapter ↗ Source list — GitHub ↗ Sublime Text ↗ Checked Jul 2026
Common issue walkthrough

Find a tool in the "GUI Tools" chapter

  1. Open the matching section below.
  2. Open the tool link and read its README or manual.
  3. Test it on a lab or non-production system first.
  4. Record what you used in the ticket or change note.
Mac Support
ProcessmacOSOpen Terminal on a Mac
  1. Open Launchpad and search Terminal, or go to /Applications/Utilities/Terminal.
  2. Type a command (for example ping example.com) and press Return.
  3. Press Ctrl+C to stop a running command.
  4. Quit with Cmd+Q or by typing exit.

Terminal is the built-in shell for running diagnostics on macOS.

Terminal User Guide — Apple ↗ Apple Support ↗ Apple IT training ↗ Checked Jul 2026
ProcessmacOSCheck whether a Mac is MDM-managed
  1. Open System Settings > General > Device Management (or VPN & Device Management).
  2. If an MDM profile is listed, the Mac is managed.
  3. Open the profile to see the payloads (restrictions, Wi-Fi, certificates, etc.).
  4. Remove or change settings from the MDM console, not locally.

Managed Macs get their configuration pushed as payloads in a management profile.

Apple Platform Deployment ↗ Apple Support ↗ Apple IT training ↗ Checked Jul 2026
ProcessmacOSFix certificate errors with Citrix on a Mac
  1. Download the needed root/intermediate certificates from https://certs.godaddy.com/repository.
  2. Install them into Keychain Access (System keychain) and trust them.
  3. Reinstall Citrix Workspace/Receiver from https://www.citrix.com/go/receiver.html.
  4. Quit Safari completely, reopen, and retry.

Missing intermediate certificates make Citrix sessions fail validation on macOS.

GoDaddy certificate repository ↗ Apple Support ↗ Apple IT training ↗ Checked Jul 2026
ProcessmacOSApple support training & official resources
  1. Self-paced support training: https://it-training.apple.com/tutorials/support/sup001 (continue to sup510).
  2. Use Apple Support guides for Mac, Console, iCloud, and Setup Assistant management.
  3. For the Apple Device Support exam: register through the Apple certification portal, then schedule via Pearson VUE.

Reference list of official Apple learning and support material.

Apple IT training ↗ Apple Support ↗ Apple IT training ↗ Checked Jul 2026
Common issue walkthrough

Mac has a certificate or enrollment problem

  1. Check Device Management for the MDM profile.
  2. Confirm certificates in Keychain Access.
  3. Reinstall the affected client app and retry.
No Internet / Can't Connect
ProcessNo Internet / Can't Connect
  1. Ask: is it one device, or is everyone in the office affected? This single question determines the entire rest of the call.One device → check adapter status and IP with the user directly.Everyone → check firewall/router status lights and the WAN uplink before touching any individual PC.
  2. Rule out DNS specifically by asking the user to try a raw IP address or a different site — if that works, it's DNS, not connectivity.
  3. If it's Wi-Fi, confirm they're actually on the corporate SSID and not a guest or neighboring network.
  4. Check whether a DNS security service (e.g. Cisco Umbrella) could be the block — test with it temporarily disabled if you can.
  5. For a site-wide outage, check the firewall/Meraki uplink status before opening a ticket with the carrier.

Escalate when: the outage is confirmed on the ISP side — stop troubleshooting internally, open a carrier ticket, and log the outage window for the client.

The single-vs-everyone question at the top of the call determines the entire rest of the diagnostic path.

Test-NetConnection — Microsoft Learn ↗Troubleshoot networking — Microsoft Learn ↗ ipconfig — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

One device has no internet

  1. Check cable or Wi-Fi and the IP with ipconfig /all.
  2. Ping the gateway, then 8.8.8.8, then a name.
  3. Flush DNS and renew the IP.
  4. Reset the adapter or network stack if needed.

Everyone is offline

  1. Check the modem/firewall and ISP status.
  2. Check DHCP and DNS servers.
  3. Escalate to the ISP with the outage details.
Outlook / Email Problems
ProcessOutlook / Email Problems
  1. Ask exactly what's happening — not receiving mail, not sending, or a specific error message. Get the exact wording of any error.
  2. Confirm whether it's happening in Outlook only, or also on the web (outlook.office.com) — this tells you if it's a client problem or an account/service problem.Web works, desktop doesn't → client-side Outlook problem. Check for a hung process, then try a Quick Repair.Both broken → check Microsoft 365 Service Health first — this could be an outage, not a local fault.
  3. If mail isn't arriving from a specific sender, check the user's inbox rules and the tenant's spam/quarantine logs before assuming it's "just not arriving."
  4. Confirm resolution by having the user send and receive a real test message before closing the ticket.

Escalate when: inbox rules show signs of tampering (auto-forward/auto-delete the user didn't set up) — treat as a possible account compromise and move to Security Incident Response immediately.

Checking outlook.office.com separately from the desktop client is the fastest way to tell a client-side problem apart from a service-wide outage.

Microsoft 365 Service Health — Microsoft Learn ↗Outlook troubleshooting — Microsoft Learn ↗ Microsoft 365 troubleshooting — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Outlook will not open or is stuck

  1. Start Outlook in Safe Mode (outlook.exe /safe).
  2. Disable add-ins and check for updates.
  3. Create a new Outlook profile.
  4. Repair Office.

Cannot send or receive

  1. Check connection status and the account sign-in.
  2. Test in Outlook on the web to rule out the mailbox.
  3. Check mailbox size and rules.
Printers / Spooler
SafeInventory & stuck jobs
Get-Printer | ft Name,DriverName,PortName,Shared -Auto
Get-Printer | % { Get-PrintJob -PrinterName $_.Name -ErrorAction SilentlyContinue }
Get-PrinterDriver | ft Name,Manufacturer,DriverVersion -Auto

The PrintManagement module cmdlets list printers, drivers, and enumerate stuck jobs across every configured queue.

Get-Printer — Microsoft Learn ↗ Print spooler troubleshooting — Microsoft Learn ↗ Remove-PrintJob — Microsoft Learn ↗ Checked Jul 2026
Minor changeClear queue / restart spooler
Get-PrintJob -PrinterName "Printer Name" | Remove-PrintJob
Restart-Service Spooler -Force

Both are user-impacting — interrupts active printing.

Clearing a queue or restarting the spooler interrupts any print job in progress for that printer.

Remove-PrintJob — Microsoft Learn ↗ Print spooler troubleshooting — Microsoft Learn ↗ Get-Printer — Microsoft Learn ↗ Checked Jul 2026
Minor changeClear stuck jobs by deleting spool files
Stop-Service -Name Spooler -Force
Remove-Item "C:\Windows\System32\spool\PRINTERS\*" -Force
Start-Service -Name Spooler

Interrupts printing for everyone using this machine or print server.

Deleting the files in the spool folder clears jobs that will not cancel from the queue. The spooler must be stopped first so the files are not locked.

Print spooler troubleshooting — Microsoft Learn ↗ Get-Printer — Microsoft Learn ↗ Remove-PrintJob — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Print jobs stuck in queue

  1. List stuck jobs per printer: Get-PrintJob.
  2. Clear the stuck job(s): Remove-PrintJob.
  3. If that doesn't help, restart the spooler service.
  4. If it recurs, check the driver — corrupt drivers are a common repeat cause.

Printer missing or can't be added

  1. Confirm the printer and driver are actually registered.
  2. Check network reachability to the print server or device IP.
  3. Re-add the printer, installing the matching driver if missing.
Quick Fixes Before Escalating
Minor changeRestart the affected component
Restart-Service <ServiceName> -Force
# or, for the whole machine, once other options are exhausted
Restart-Computer

Restart the smallest thing that could fix it first — a service restart before a full reboot, a reboot before a reimage.

The classic first-pass fix — genuinely resolves a large share of transient issues and costs almost nothing to try.

Restart-Service — Microsoft Learn ↗ Troubleshoot Windows — Microsoft Learn ↗ Microsoft Support ↗ Checked Jul 2026
Minor changeClear temp files & browser cache
Remove-Item "$env:TEMP\*" -Recurse -Force -ErrorAction SilentlyContinue

Also worth doing when disk space is unexpectedly low, not just for app weirdness.

Stale temp/cache data causes a surprising share of "app is acting weird" and "site won't load right" tickets.

Remove-Item — Microsoft Learn ↗ Restart-Service — Microsoft Learn ↗ Troubleshoot Windows — Microsoft Learn ↗ Checked Jul 2026
Minor changeFlush DNS & renew IP
ipconfig /flushdns
ipconfig /release
ipconfig /renew

The standard three-step reset for "sometimes it connects, sometimes it doesn't" networking complaints.

Clears a stale DNS cache and forces a fresh DHCP lease — resolves a large share of intermittent connectivity complaints.

ipconfig — Microsoft Learn ↗ Restart-Service — Microsoft Learn ↗ Troubleshoot Windows — Microsoft Learn ↗ Checked Jul 2026
SafeRun the built-in Windows troubleshooter
Start-Process msdt.exe -ArgumentList "/id NetworkDiagnosticsNetworkAdapter"

Swap the /id for the matching pack (printer, audio, Bluetooth, etc.) — worth a shot before deeper manual diagnosis.

Windows' built-in diagnostic packs catch a meaningful share of common config-level problems automatically.

Windows troubleshooting packs — Microsoft Learn ↗ Restart-Service — Microsoft Learn ↗ Troubleshoot Windows — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Working through the quick-fix tier in order

  1. Try the least invasive fix first — a restart — before anything else.
  2. Move to cache/DNS resets if a restart doesn't clear it.
  3. Run the matching built-in troubleshooter if the cause is still unclear.
  4. If none of these clear it within a few minutes, stop guessing and escalate.
Remote Sessions / Support Evidence
SafeWho's logged in / RDP sessions
quser
qwinsta
Test-WSMan computername

quser/qwinsta list active sessions on a machine — check before forcing a reboot or logoff so you don't cut off someone's active work.

quser — Microsoft Learn ↗ Test-WSMan — Microsoft Learn ↗ Invoke-Command — Microsoft Learn ↗ Checked Jul 2026
SafeRun a read-only remote command
Invoke-Command -ComputerName PC01 -ScriptBlock { hostname; Get-Service Spooler }

Requires remoting rights (WinRM enabled on target).

Invoke-Command requires WinRM/PSRemoting enabled on the target and appropriate rights for the account running it.

Invoke-Command — Microsoft Learn ↗ Test-WSMan — Microsoft Learn ↗ quser — Microsoft Learn ↗ Checked Jul 2026
Minor changeLog off a session
logoff <sessionID>

Confirm with the user first.

Forcibly logs off a session — always confirm with the user first since unsaved work will be lost.

logoff — Microsoft Learn ↗ Test-WSMan — Microsoft Learn ↗ Invoke-Command — Microsoft Learn ↗ Checked Jul 2026
ProcessAdd or remove Remote Desktop users
  1. On the target PC, open System Properties > Remote (or Settings > System > Remote Desktop).
  2. Select Select users that can remotely access this PC.
  3. Add or Remove the user, then OK.
  4. Test from another machine with mstsc.exe or the Remote Desktop app.

Only members of the Remote Desktop Users group (and administrators) can connect over RDP.

Allow access to your PC — Microsoft Learn ↗ Test-WSMan — Microsoft Learn ↗ Invoke-Command — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Can't remote into a machine

  1. Confirm WinRM is listening: Test-WSMan.
  2. Check the Remote Desktop firewall rule and service state if using RDP.
  3. Confirm the account has remoting rights on the target.
  4. Try a read-only Invoke-Command first to confirm connectivity before attempting fixes.

Need to safely end an idle/hung session

  1. List active sessions: quser.
  2. Confirm which session is actually hung versus just idle.
  3. Notify the user if possible, then log off: logoff <sessionID>.
Role Overview & Daily Workflow
ProcessResponsibilities and where to find them in this guide
  1. First-level help desk and user issues: Breakfix and the First-Level Help Desk section.
  2. Organizing and safeguarding data: Compliance — HIPAA and ISO, Data safeguards, Backups.
  3. Install, configure, and maintain infrastructure: AIX Server Administration, Db2, Windows and network sections.
  4. Communication systems: Communication Systems and Exchange/Teams sections.
  5. Security protocols and basic security tasks: Security category.
  6. Scheduling and managing production jobs: ROC Maestro and Batch Jobs & Scheduling.
  7. Basic automation scripts: Automation Scripts and Shell Scripting.
  8. Monitoring production batch jobs and reporting issues: Batch Jobs & Scheduling and ROC Maestro.
  9. Technical queries from health plan customers: HEALTHsuite and Health Plan Basics.

A quick map from the job responsibilities to the sections of this guide.

ITIL incident management — Atlassian ↗ RAM Technologies HEALTHsuite announcement — PRWeb ↗ HIPAA Security Rule — HHS ↗ Checked Jul 2026
ProcessStart-of-shift checklist
  1. Read the handoff notes and open tickets.
  2. Check the Maestro board for failed, late, or held jobs.
  3. Check GoAnywhere for failed or missing file transfers.
  4. Check disk space and the error log on key AIX servers.
  5. Check database health: backups, tablespaces, blocking.
  6. Check HEALTHsuite is reachable and a test login works.
  7. Review security and alert emails.
  8. Triage the ticket queue by priority.
  9. Post a short status note: all clear or what needs attention.

A routine that finds problems before the business does.

conman commands — HCL Workload Automation ↗ GoAnywhere resources — Fortra ↗ IBM AIX documentation ↗ Checked Jul 2026
ProcessEnd-of-shift handoff note
  1. What is broken or at risk, with ticket numbers.
  2. Jobs rerun or changed, and why.
  3. Anything waiting on a customer, vendor, or approval.
  4. Planned changes or maintenance coming up.
  5. Where logs and evidence are.
  6. Who to call and when.
ProcessFirst 90 days learning plan
  1. Days 1-30: learn the systems (HEALTHsuite, AIX, Db2, Maestro, GoAnywhere), the ticket process, and security rules. Shadow and take notes.
  2. Days 31-60: handle tickets and monitoring on your own with review; learn the runbooks and common failures.
  3. Days 61-90: take on small automation, recurring reports, and documentation fixes; own a process end to end.
  4. Keep a personal log of commands, errors, and fixes you see more than once.

A realistic way to ramp up in a systems engineering role.

ITIL incident management — Atlassian ↗ IBM AIX documentation ↗ Db2 documentation — IBM ↗ Checked Jul 2026
ProcessHealth plan and IT glossary
  1. PHI: protected health information. TPA: third-party administrator. BPaaS: business process as a service.
  2. MA / MAPD: Medicare Advantage (with Part D drugs). SNP: Special Needs Plan. Medicaid managed care: state-sponsored plan run by a health plan.
  3. CMS: Centers for Medicare & Medicaid Services. HHS: Dept. of Health and Human Services.
  4. Adjudication: deciding how a claim is paid or denied. Remittance: payment explanation (835). EOB: Explanation of Benefits.
  5. Enrollment / eligibility: who is covered and when (834, 270/271).
  6. Encounter data: service records plans send to CMS or the state.
  7. NPI: National Provider Identifier. ICD-10 / CPT: diagnosis and procedure code sets.
  8. MFT: managed file transfer. SFTP: secure file transfer over SSH. PGP: file encryption.
  9. SPOF: single point of failure. RTO/RPO: how long to recover / how much data loss is acceptable.

Terms that come up daily when supporting health plan systems.

CMS.gov ↗ HIPAA Security Rule — HHS ↗ X12 EDI standards ↗ Checked Jul 2026
Common issue walkthrough

First week

  1. Get logins and read the security rules.
  2. Shadow someone through the morning checklist.
  3. Learn the ticket tool and priorities.
  4. Write down every new term.

When a job is late

  1. Check Maestro.
  2. Check the file in GoAnywhere.
  3. Check the database load.
  4. Report with times.
Services / Processes / Software Removal
SafeState check
Get-Service | ? Status -eq Running | sort Name
Get-Process OneDrive,Outlook -ErrorAction SilentlyContinue

Get-Service and Get-Process give the running-state baseline before restarting or killing anything.

Get-Service — Microsoft Learn ↗ winget uninstall — Microsoft Learn ↗ Service status transitions — Microsoft Learn ↗ Checked Jul 2026
Minor changeRestart / stop
Restart-Service Spooler -Force
Stop-Process -Name OneDrive -Force

Stop-Process risks data loss in unsaved apps.

Restart-Service is generally safe; Stop-Process -Force can lose unsaved work in the target application.

Stop-Process — Microsoft Learn ↗ Get-Service — Microsoft Learn ↗ winget uninstall — Microsoft Learn ↗ Checked Jul 2026
SafeFind uninstall strings
$paths="HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*","HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*"
Get-ItemProperty $paths | ? DisplayName -like "*AppName*" |
  select DisplayName,DisplayVersion,UninstallString,QuietUninstallString
winget list --name "AppName"

The Uninstall registry keys hold the exact uninstall string vendors register — winget list is a faster alternative where winget is present.

winget list — Microsoft Learn ↗ Get-Service — Microsoft Learn ↗ winget uninstall — Microsoft Learn ↗ Checked Jul 2026
Big changeSilent uninstall
Start-Process "C:\Program Files\App\uninstall.exe" -ArgumentList "/S" -Wait
winget uninstall --name "App Name"

Confirm the vendor's silent switch first.

Running a vendor's own silent-uninstall switch is safer than deleting files by hand — confirm the exact switch in vendor docs first.

winget uninstall — Microsoft Learn ↗ Get-Service — Microsoft Learn ↗ Service status transitions — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

App won't uninstall cleanly

  1. Find its exact uninstall string in the registry Uninstall key.
  2. Try the vendor's silent switch first.
  3. If that fails, try winget uninstall.
  4. As a last resort, manually clean leftover registry/folder remnants and document what was removed.

Service won't start or crashes repeatedly

  1. Check current status and last error via Get-Service and the Service Control Manager event log.
  2. Try a manual restart: Restart-Service -Force.
  3. If it won't start, check the account it runs as and the permissions it needs.
  4. Confirm dependent services aren't also down.
Toolbox — Handy Utilities
Minor changeSystem diagnostics & monitoring
# CPU-Z — CPU/motherboard/RAM specs
winget install CPUID.CPU-Z
# HWMonitor — live temps, voltages, fan speeds
winget install CPUID.HWMonitor
# Sysinternals Suite — Process Explorer, Autoruns, and more
winget install Microsoft.Sysinternals.Suite
# Memtest86+ — bootable RAM stress test for BSOD/corruption issues

Memtest86+ boots from USB/CD outside the OS, so grab it from the official site rather than winget — it needs to run before Windows loads.

Process Explorer (in Sysinternals) is the single most useful upgrade over Task Manager for figuring out what a hung or resource-hogging process is actually doing.

Sysinternals Suite — Microsoft Learn ↗ Rufus official site ↗ Malwarebytes official site ↗ Checked Jul 2026
Minor changeCleanup & maintenance
# CCleaner — temp file / registry cleanup
winget install Piriform.CCleaner
# 7-Zip — archive utility, unzips nearly everything
winget install 7zip.7zip

Skip HiJackThis and Secunia PSI from older toolkits — HiJackThis is largely unmaintained now (Autoruns from Sysinternals covers the same ground better), and Secunia PSI was discontinued after Flexera's acquisition.

7-Zip's format support is broad enough that it's worth having installed by default rather than reaching for it only when a .rar or .7z file shows up.

7-Zip official site ↗ Rufus official site ↗ Malwarebytes official site ↗ Checked Jul 2026
Minor changeSecurity & malware
# Malwarebytes — on-demand malware scan/removal
winget install Malwarebytes.Malwarebytes
# VeraCrypt — full-disk/container encryption when BitLocker isn't available
winget install IDRIX.VeraCrypt
# HashTab — adds file-hash checksums to the right-click Properties tab

VeraCrypt is the standard fallback when a machine lacks a TPM or the Windows edition needed for BitLocker.

HashTab is a quick way to verify a downloaded ISO or driver package hasn't been corrupted or tampered with, without needing a separate command-line tool.

Malwarebytes official site ↗ Rufus official site ↗ Sysinternals — Microsoft Learn ↗ Checked Jul 2026
Minor changeDisk, imaging & virtualization
# GParted — resize/repartition drives from a live boot environment
# ImgBurn — burn ISO images to disc
# Rufus — make a bootable USB from an ISO
winget install Rufus.Rufus
# VirtualBox — free desktop virtualization
winget install Oracle.VirtualBox

Always back up before repartitioning with GParted or any partitioning tool on a system you care about — it's destructive if interrupted or misconfigured.

Rufus is the fastest path from "here's an ISO" to a bootable recovery/install USB, and handles both legacy BIOS and UEFI targets.

Rufus official site ↗ Malwarebytes official site ↗ Sysinternals — Microsoft Learn ↗ Checked Jul 2026
Minor changeNetwork & security testing
# Wireshark — packet capture and protocol analysis
winget install WiresharkFoundation.Wireshark
# Nmap — network/port scanner
winget install Insecure.Nmap
# Metasploit & Kali Linux — penetration-testing framework and distro

Only run Nmap/Metasploit against networks and systems you're authorized to test — unauthorized scanning can violate policy or law even with good intentions.

Wireshark is the standard tool for confirming what's actually on the wire when a networking issue can't be explained by config alone.

Wireshark official site ↗ Rufus official site ↗ Malwarebytes official site ↗ Checked Jul 2026
SafeRun-box shortcuts
lusrmgr.msc   # Local Users and Groups
mmc           # blank console to add snap-ins
services.msc  # Services
compmgmt.msc  # Computer Management (open files, shares)

Press Win+R and type any of these to open the matching admin console quickly.

Windows commands — Microsoft Learn ↗ Rufus official site ↗ Malwarebytes official site ↗ Checked Jul 2026
ProcessScan with Microsoft Safety Scanner
  1. Download the Safety Scanner from the Microsoft page (64-bit or 32-bit to match the PC).
  2. Run the downloaded file and accept the license.
  3. Choose Full scan and let it finish.
  4. Review the results and remove anything found.
  5. Delete the tool afterwards — it expires after 10 days and should be re-downloaded fresh each time.

Safety Scanner is a free, standalone on-demand scanner for finding and removing malware. It does not replace real-time protection.

Microsoft Safety Scanner — Microsoft Learn ↗ Rufus official site ↗ Malwarebytes official site ↗ Checked Jul 2026
Common issue walkthrough

Building a go-bag of tools before an onsite visit

  1. Grab a bootable USB (Rufus) with your OS install/recovery image ready to go.
  2. Bring diagnostic tools (CPU-Z, HWMonitor, Memtest86+) for anything hardware-suspect.
  3. Bring cleanup/security tools (Malwarebytes, CCleaner) for a compromised or bloated machine.
  4. Check that install sources are current before you leave — a stale malware definition set is nearly useless.
Windows Repair / Updates
SafeDiagnose corruption / reboot state
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending" -ErrorAction SilentlyContinue
Get-CimInstance Win32_OperatingSystem | select LastBootUpTime

DISM CheckHealth is a fast flag check; RebootPending and LastBootUpTime rule out a pending update or stability issue before deeper repair.

DISM /RestoreHealth — Microsoft Learn ↗ Windows Update troubleshooting — Microsoft Learn ↗ sfc — Microsoft Learn ↗ Checked Jul 2026
Minor changeRepair order
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

Run DISM RestoreHealth before SFC.

Standard Windows corruption-repair order: DISM RestoreHealth rebuilds the component store, then SFC repairs protected system files from it.

sfc — Microsoft Learn ↗ DISM /RestoreHealth — Microsoft Learn ↗ Windows Update troubleshooting — Microsoft Learn ↗ Checked Jul 2026
SafeUpdate log & reliability history
Get-WindowsUpdateLog
Get-CimInstance Win32_ReliabilityRecords | sort TimeGenerated -Desc | select -First 30 TimeGenerated,SourceName,Message

Get-WindowsUpdateLog assembles the encrypted ETW update trace into a readable log on the desktop.

Windows Update log files — Microsoft Learn ↗ DISM /RestoreHealth — Microsoft Learn ↗ Windows Update troubleshooting — Microsoft Learn ↗ Checked Jul 2026
Minor changeRepair from an offline OS install image
DISM /Online /Cleanup-Image /AnalyzeComponentStore
DISM /Online /Cleanup-Image /StartComponentCleanup
# check what's actually in the WIM first
DISM /Get-WimInfo /WimFile:D:\sources\install.wim
# repair using a local ISO/USB instead of Windows Update
DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:D:\sources\install.wim:INDEX /LimitAccess

Use this when RestoreHealth fails because the machine can't reach Windows Update — point it at a matching-build install.wim from an ISO or USB instead. Match the index number to the edition via Get-WimInfo first.

AnalyzeComponentStore reports whether the component store is actually bloated before you run a cleanup; sourcing RestoreHealth from a local WIM is the standard workaround on air-gapped or update-blocked machines.

DISM /RestoreHealth — Microsoft Learn ↗ Windows Update troubleshooting — Microsoft Learn ↗ sfc — Microsoft Learn ↗ Checked Jul 2026
Big changeMove or rebuild the EFI system partition
diskpart
list disk
select disk X
list partition
# need 500MB-1GB unallocated space at the end of the disk first
create partition efi size=500
format quick fs=fat32 label="System"
assign letter=Z
exit

bcdboot C:\Windows /s Z: /f UEFI
bcdedit /set {bootmgr} device partition=Z:
bcdedit /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi
bcdedit

Disable BitLocker before starting. Reboot and confirm the system boots normally before cleaning up the old EFI partition.

Rebuilds the EFI boot partition on a UEFI system — needed when the original ESP is missing, corrupted, or needs to move to make room for a repartition.

bcdboot — Microsoft Learn ↗ DISM /RestoreHealth — Microsoft Learn ↗ Windows Update troubleshooting — Microsoft Learn ↗ Checked Jul 2026
Big changeRecreate the recovery partition (WinRE)
reagentc /info
# if a recovery partition already exists but is unregistered, point WinRE at it:
reagentc /setreimage /path R:\Recovery\WindowsRE
reagentc /enable

# if the partition itself needs to be (re)created — GPT disks:
diskpart
select disk X
select partition Y        # the new/target recovery partition
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001
exit

Leave at least 1GB free at the end of the disk before creating the partition. If WinRE.wim is still present under C:\Windows\System32\Recovery, you don't need to source it from install media.

reagentc /info tells you immediately whether WinRE is enabled and where it's pointed — always check this first before assuming the partition itself is the problem.

Windows Recovery Environment technical reference — Microsoft Learn ↗ DISM /RestoreHealth — Microsoft Learn ↗ Windows Update troubleshooting — Microsoft Learn ↗ Checked Jul 2026
Minor changeWindows Update button is greyed out
reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate"
# set SetDisableUXWUAccess from 1 to 0, then restart the Update service or reboot
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v SetDisableUXWUAccess /t REG_DWORD /d 0 /f

This policy value is what greys out the "Check for updates" button in Settings — usually left over from a GPO that no longer applies, or a manual restriction someone forgot to remove.

A single registry value under the WindowsUpdate policy key controls whether the update UI is interactive — flipping it back to 0 restores the button without touching any other update settings.

Windows Update policy settings — Microsoft Learn ↗ DISM /RestoreHealth — Microsoft Learn ↗ Windows Update troubleshooting — Microsoft Learn ↗ Checked Jul 2026
SafeCheck or clean up the component store (WinSxS)
dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
dism.exe /Online /Cleanup-Image /StartComponentCleanup

Analyze first to see whether cleanup is recommended. StartComponentCleanup removes superseded update components and frees space.

Clean up the WinSxS folder — Microsoft Learn ↗ DISM /RestoreHealth — Microsoft Learn ↗ Windows Update troubleshooting — Microsoft Learn ↗ Checked Jul 2026
Minor changeRun Windows Updates from PowerShell
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted
Install-Module PSWindowsUpdate
Get-WindowsUpdate
Install-WindowsUpdate -AcceptAll

May reboot or leave the machine pending a restart — warn the user first.

PSWindowsUpdate lists and installs updates from the shell. Using the Process scope for the execution policy avoids having to set it back afterwards.

PSWindowsUpdate — PowerShell Gallery ↗ DISM /RestoreHealth — Microsoft Learn ↗ Windows Update troubleshooting — Microsoft Learn ↗ Checked Jul 2026
Minor changeUpdate installed apps with winget
winget upgrade
winget upgrade --all

winget upgrade lists apps with newer versions; --all updates everything it can.

winget upgrade — Microsoft Learn ↗ DISM /RestoreHealth — Microsoft Learn ↗ Windows Update troubleshooting — Microsoft Learn ↗ Checked Jul 2026
Minor changeRe-register the Microsoft Store
Get-AppxPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Re-registers the Store package for all users when the Store is missing or will not open.

Add-AppxPackage — Microsoft Learn ↗ DISM /RestoreHealth — Microsoft Learn ↗ Windows Update troubleshooting — Microsoft Learn ↗ Checked Jul 2026
SafeCheck installed .NET versions
dotnet --list-sdks
dotnet --list-runtimes

Lists installed .NET SDKs and runtimes so you can confirm which version an app needs.

Detect installed .NET versions — Microsoft Learn ↗ DISM /RestoreHealth — Microsoft Learn ↗ Windows Update troubleshooting — Microsoft Learn ↗ Checked Jul 2026
SafeSee what is keeping a PC awake
powercfg /requests
Big changeCrowdStrike BSOD recovery (C-00000291*.sys)
# From WinRE: Troubleshoot > Advanced options > Startup Settings > Restart
# Press 6 (Safe Mode with Command Prompt) or 5 (Safe Mode with Networking)
cd c:\Windows\System32\drivers\CrowdStrike
del C-00000291*.sys
shutdown -r -f -t 3

Have the BitLocker recovery key ready before starting.

Removes the faulty channel file that crashed Windows hosts in July 2024. A BitLocker recovery key may be requested to get into recovery.

CrowdStrike remediation hub ↗ DISM /RestoreHealth — Microsoft Learn ↗ Windows Update troubleshooting — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

System unstable or corrupted after an update

  1. Run DISM /CheckHealth then /ScanHealth to assess corruption.
  2. Run DISM /RestoreHealth to repair the component store.
  3. Run sfc /scannow to repair protected files from the restored store.
  4. Reboot and check reliability history for repeat errors.

Updates stuck or failing to install

  1. Generate the update log: Get-WindowsUpdateLog.
  2. Check for a pending reboot blocking new installs.
  3. If updates are stuck, stop wuauserv, rename the SoftwareDistribution folder, and restart the service.
  4. Retry Windows Update and monitor the new log.
02 NetworkingMeraki, switching and VLANs, VPN, DNS, wireless, firewalls, Auvik topology mapping, and network data flows
Auvik & Network Topology Management
ProcessHow Auvik works (data flow)
Auvik: a local collector discovers devices and sends data to the Auvik cloudCustomer siteSNMP, LLDPHTTPSdrawsnotifiesstoresSwitches, routers,firewalls, APsAuvik collector(on your network)Auvik cloudTopology maps(L1, L2, L3)Alerts andPSA ticketsConfig backupsand history
Switches, routers, firewalls, APs↔ SNMP, LLDP → Auvik collector (on your network)
Auvik collector (on your network)↓ HTTPS → Auvik cloud
Auvik cloud↓ draws → Topology maps (L1, L2, L3)↓ notifies → Alerts and PSA tickets↓ stores → Config backups and history
Topology maps (L1, L2, L3)
Alerts and PSA tickets
Config backups and history
Auvik: a local collector discovers devices and sends data to the Auvik cloud
  1. A lightweight collector (Windows service, OVA, Docker, or bash install) runs on the customer network.
  2. It discovers devices with SNMP, WMI, and ICMP, and maps connections with LLDP, CDP, and forwarding tables.
  3. Data goes securely to the Auvik cloud, which builds interactive maps and inventory.
  4. Alerts for new devices and critical changes can create tickets in your PSA.
  5. Device configs are backed up when added or changed, with version history and compare.

The pieces of Auvik and how data moves. Auvik is a network monitoring and topology tool commonly used by MSPs.

Auvik network discovery ↗ Auvik network mapping ↗ Auvik automated documentation ↗ Checked Jul 2026
ProcessData flow — what a clean small-business topology map should show
Typical small network: firewall, core switch, access switches, servers, wirelessWANLANtrunktrunkserver linkPoEInternet / ISPFirewallCore switchAccess switchfloor 1Access switchfloor 2Servers / hypervisorWireless APs
Internet / ISP↓ WAN → Firewall
Firewall↓ LAN → Core switch
Core switch↓ trunk → Access switch floor 1↓ trunk → Access switch floor 2↓ server link → Servers / hypervisor
Access switch floor 1↓ PoE → Wireless APs
Servers / hypervisor
Access switch floor 2
Wireless APs
Typical small network: firewall, core switch, access switches, servers, wireless
  1. Every device should appear once and connect to the device above it; unexpected links can mean a loop or a rogue switch.
  2. Check that uplinks match the design (speed, trunk, redundancy).
  3. Look for unknown devices and unmanaged switches; add or remove them from the map as appropriate.
  4. Compare the live map to the documented diagram after every change.
  5. Save the diagram as evidence for audits and onboarding.

Reading a map: what normal looks like and what to question.

Network topology — Wikipedia ↗ Auvik network mapping ↗ Network design basics — Cisco ↗ Checked Jul 2026
ProcessSet up Auvik for a new site
  1. Create the site in Auvik and download the collector for your platform.
  2. Install the collector on a server or VM at the site (or import the OVA).
  3. Enter discovery credentials: SNMP (v2c or v3), WMI/domain account, and device SSH or CLI logins where needed.
  4. Confirm the collector shows online and devices begin to appear in the map.
  5. Name and tag devices, set the device roles, and confirm each important switch and firewall is monitored (not just discovered).
  6. Turn on config backup and set alert recipients and PSA integration.

Use read-only SNMP credentials wherever possible and store credentials in your password manager.

A repeatable site onboarding checklist for Auvik.

Auvik support center ↗ Auvik network discovery ↗ SNMP — Wikipedia ↗ Checked Jul 2026
ProcessAuvik device not showing or shown as unmanaged
  1. Confirm the collector is online and has network access to the device's VLAN.
  2. Check SNMP is enabled on the device, the community or v3 user matches, and the collector's IP is allowed.
  3. For Windows servers, confirm the WMI account and firewall rules.
  4. Check the credentials are assigned to the right site and device.
  5. Review the device's discovery status and errors in Auvik.
  6. Rerun discovery or rescan after fixing and confirm the status changes to monitored.

The usual reasons a device is discovered but not fully managed.

Auvik support center ↗ SNMP — Wikipedia ↗ Troubleshoot SNMP — Microsoft Learn ↗ Checked Jul 2026
ProcessAuvik map shows wrong or missing links
  1. Check that LLDP or CDP is enabled on both ends of the link.
  2. Confirm both devices are managed and have valid credentials.
  3. Check for unmanaged switches in the path, which hide connections.
  4. Wait for a full discovery cycle after a change, then refresh the map.
  5. Compare to the switch's own neighbor table (show lldp neighbors or show cdp neighbors).
  6. Fix the device config, not the map, when they disagree.

Maps are built from what devices report, so wrong maps usually mean device-side settings.

Auvik network mapping ↗ LLDP — Wikipedia ↗ LLDP and CDP — Cisco ↗ Checked Jul 2026
SafeCheck LLDP / CDP neighbors on a switch
show lldp neighbors
show lldp neighbors detail
show cdp neighbors
show cdp neighbors detail
show interfaces status
show mac address-table

Read-only show commands. Syntax varies slightly by vendor and model.

Shows what each port is connected to, which is the same data topology tools use.

LLDP — Wikipedia ↗ Auvik network mapping ↗ Cisco IOS command reference ↗ Checked Jul 2026
ProcessUse Auvik for change and incident work
  1. Before a change: save the current map and config as the baseline.
  2. During: watch the map and alerts for the affected devices.
  3. After: compare the new config to the previous version and check the map matches the plan.
  4. For an outage: find the offline device on the map, check upstream devices first, then the link between them.
  5. Add the result and screenshots to the ticket and update the client documentation.

Turns the topology map into a troubleshooting and change-control tool.

Auvik network discovery ↗ Change management — Atlassian ↗ Auvik support center ↗ Checked Jul 2026
ProcessTopology management tools and alternatives
  1. Auvik: cloud network discovery, maps, monitoring, and config backup for MSPs.
  2. Meraki Dashboard: built-in topology for Meraki-only networks.
  3. PRTG, SolarWinds, LogicMonitor, Zabbix: monitoring with network maps.
  4. NetBox: source-of-truth inventory and IP management (documentation, not discovery).
  5. Draw.io, Lucidchart, Visio: hand-drawn diagrams for design and documentation.
  6. Rule: use discovery for what exists now and diagrams for what you intended.

Choose by need: discovery and monitoring, inventory, or design drawings.

PRTG network mapping ↗ NetBox ↗ draw.io ↗ Checked Jul 2026
Common issue walkthrough

Onboard a new network in Auvik

  1. Create the site and install the collector.
  2. Add SNMP, WMI, and device credentials.
  3. Confirm devices appear and are monitored.
  4. Turn on config backup and alerts.

A device is missing from the map

  1. Check the collector is online.
  2. Check SNMP credentials and allowed IPs.
  3. Check LLDP/CDP on both ends.
  4. Rescan and verify.
Cisco Meraki
SafeDevice status via Dashboard API
Invoke-RestMethod -Uri "https://api.meraki.com/api/v1/devices/<serial>" `
  -Headers @{"X-Cisco-Meraki-API-Key"=$merakiKey}

Meraki gear is managed almost entirely through the cloud dashboard/API rather than local CLI — generate the API key under your org's dashboard profile.

Returns firmware, network, and status details for a single access point, switch, or MX appliance by serial number.

Meraki Dashboard API — Cisco DevNet ↗ Get uplink statuses — Cisco DevNet ↗ Get network clients — Cisco DevNet ↗ Checked Jul 2026
SafeWAN uplink status (MX)
Invoke-RestMethod -Uri "https://api.meraki.com/api/v1/organizations/<orgId>/appliance/uplink/statuses" `
  -Headers @{"X-Cisco-Meraki-API-Key"=$merakiKey}

Shows per-WAN-link status (WAN1/WAN2), IP, and whether it's active or failed over — the first check for a site-down ticket.

Confirms whether an MX security appliance's internet uplinks are up before assuming the problem is downstream.

Get uplink statuses — Cisco DevNet ↗ Meraki Dashboard API — Cisco DevNet ↗ Get network clients — Cisco DevNet ↗ Checked Jul 2026
SafeClient connectivity list
Invoke-RestMethod -Uri "https://api.meraki.com/api/v1/networks/<networkId>/clients" `
  -Headers @{"X-Cisco-Meraki-API-Key"=$merakiKey}

Lists every client seen on a network with signal, usage, and last-seen data — useful for confirming a device actually associated to Wi-Fi.

Good starting point for "is this device even reaching our network" before digging into firewall or DHCP issues.

Get network clients — Cisco DevNet ↗ Meraki Dashboard API — Cisco DevNet ↗ Get uplink statuses — Cisco DevNet ↗ Checked Jul 2026
Minor changeRemote reboot a device
Invoke-RestMethod -Method Post -Uri "https://api.meraki.com/api/v1/devices/<serial>/reboot" `
  -Headers @{"X-Cisco-Meraki-API-Key"=$merakiKey}

Drops connectivity for anything behind that device for the duration of the reboot — confirm impact before running during business hours.

Reboots an AP, switch, or MX remotely through the API — the cloud equivalent of pulling power on the device.

Reboot device — Cisco DevNet ↗ Meraki Dashboard API — Cisco DevNet ↗ Get uplink statuses — Cisco DevNet ↗ Checked Jul 2026
ProcessData flow — Meraki cloud management vs local data path
Meraki: management traffic goes to the cloud, user data stays on the local networkconfig / statususer traffic stays localMeraki Dashboard(cloud)MX securityapplianceMS switchMR access pointClients
MX security appliance↓ config / status → Meraki Dashboard (cloud)
Meraki Dashboard (cloud)
MS switch↓ → Meraki Dashboard (cloud)
Clients↓ user traffic stays local → MS switch
MR access point↓ → Meraki Dashboard (cloud)
Meraki: management traffic goes to the cloud, user data stays on the local network
  1. Devices connect out to the Meraki cloud over HTTPS to download configuration and report status.
  2. User traffic does not go through the cloud; it moves across the local switches, access points, and MX.
  3. If the internet is down, the network keeps working locally but you cannot change settings from the dashboard.
  4. A device showing offline in the dashboard usually has lost its uplink, DNS, or access to the Meraki cloud.
  5. Check the device's local status page (when reachable) and the dashboard event log.

Why Meraki sites keep running during a dashboard outage, and what "offline" means.

Meraki cloud architecture whitepaper ↗ Meraki documentation ↗ Firewall rules for Meraki cloud — Meraki ↗ Checked Jul 2026
Common issue walkthrough

Site down — need root cause fast

  1. Check WAN uplink status first.
  2. Check device status for the specific MX/switch/AP.
  3. Check the client connectivity list to see if devices are even associating.
  4. Reboot the device only if status confirms it's hung, not just an uplink/ISP issue.

New AP not appearing or clients can't connect

  1. Confirm the device was claimed into the right network in the dashboard.
  2. Check device status via the API for adoption/online state.
  3. Check the client list to confirm at least some devices are associating.
Cisco Switching (VLANs)
SafeCisco IOS/IOS-XECheck VLAN & port status
show vlan
show interface status

show vlan lists every VLAN and which ports are assigned to it; show interface status gives a one-line-per-port summary (connected/notconnect, speed/duplex, assigned VLAN) — usually the faster of the two for a "why can't this port reach the network" call.

The standard first check before touching any switch config — confirms both what VLANs exist and which physical ports are actually up and assigned where you expect.

Cisco Catalyst 9300 command references ↗ Cisco support ↗ Cisco Learning Network ↗ Checked Jul 2026
Minor changeCisco IOS/IOS-XEConfigure a switch port's VLAN
configure terminal
interface range gi1/0/24
switchport access vlan <vlan-ID>
switchport mode access
auto qos trust
exit

interface range lets you apply the same config to multiple ports at once (e.g. interface range gi1/0/1-24). auto qos trust is optional — only relevant if you're trusting QoS markings from the connected device (like a VoIP phone).

The standard sequence for moving a port onto a specific VLAN — confirm the VLAN already exists (show vlan) before assigning a port to it, since assigning to a nonexistent VLAN silently creates it.

Cisco IOS interface commands reference ↗ Cisco Catalyst 9300 command reference ↗ Cisco support ↗ Checked Jul 2026
ProcessData flow — VLANs, trunks, and inter-VLAN routing
VLANs: trunk between switches, access ports per VLAN, routing at the L3 corerouted uplink802.1Q trunkaccess portaccess portFirewallCore / L3 switch(VLAN gateways)Access switchPCsVLAN 10IP phonesVLAN 20 (voice)
Firewall↓ routed uplink → Core / L3 switch (VLAN gateways)
Core / L3 switch (VLAN gateways)↔ 802.1Q trunk → Access switch
PCs VLAN 10
Access switch↓ access port → PCs VLAN 10↓ access port → IP phones VLAN 20 (voice)
IP phones VLAN 20 (voice)
VLANs: trunk between switches, access ports per VLAN, routing at the L3 core
  1. Each VLAN is a separate broadcast domain; access ports carry one VLAN untagged.
  2. The trunk between switches carries many VLANs tagged with 802.1Q; both ends must allow the same VLANs and native VLAN.
  3. A device in one VLAN reaches another VLAN only through a router or L3 switch (the VLAN's gateway address).
  4. Check with show vlan brief, show interfaces trunk, and show ip interface brief.
  5. Wrong VLAN on a port or a missing VLAN on a trunk is the most common cause of one-device-cannot-connect.

How VLANs, trunks, and the L3 gateway fit together.

VLAN basics — Cisco ↗ IEEE 802.1Q overview — Wikipedia ↗ Cisco IOS command reference ↗ Checked Jul 2026
Common issue walkthrough

Device on the wrong VLAN

  1. Check port status and VLAN with show vlan brief and show interfaces status.
  2. Confirm the port mode (access or trunk).
  3. Set the correct access VLAN and save the config.

Trunk or VLAN not passing traffic

  1. Check show interfaces trunk for allowed VLANs.
  2. Confirm the VLAN exists on both switches.
  3. Check native VLAN matches on both ends.
Firewalls
SafePalo Alto — session & policy check
show session all filter source <ip> destination <ip>
show rule-hit-count vsys vsys1 rule-base security rules all

Session filter confirms whether traffic is actually reaching the firewall; rule-hit-count shows whether a security rule is matching at all.

The standard PAN-OS pair for "is this traffic being blocked, and by which rule" troubleshooting.

PAN-OS CLI cheat sheet ↗ FortiOS CLI reference ↗ Fortinet Docs ↗ Checked Jul 2026
SafeFortinet — session & policy check
diagnose sys session filter dst <ip>
diagnose sys session list
get firewall policy <id>

Set the filter before listing sessions — diagnose sys session list without a filter dumps every session on the box.

FortiOS's session-inspection commands, used the same way as Palo Alto's — filter first, then list matching sessions.

FortiOS CLI reference ↗ PAN-OS CLI cheat sheet ↗ Fortinet Docs ↗ Checked Jul 2026
SafePFSense — filter state & logs
pfctl -s state | grep <ip>
clog /var/log/filter.log | tail -n 50

pfctl shows the live state table (what's actually passing/blocked right now); clog reads the rotated filter log for history.

pfSense is built on FreeBSD's pf firewall — these are the underlying OS-level commands behind what the web GUI's Diagnostics pages show.

pfSense monitoring & diagnostics — Netgate Docs ↗ PAN-OS CLI cheat sheet ↗ FortiOS CLI reference ↗ Checked Jul 2026
SafeSonicWall — VPN & session status
show vpn ipsec-sa
show current-users

Exact CLI syntax varies by SonicOS version — confirm against the version-specific CLI reference before relying on it for a scripted check.

SonicWall is primarily managed through its web UI; the SonicOS CLI covers the same VPN and session data for quick checks over SSH/console.

SonicWall technical documentation ↗ PAN-OS CLI cheat sheet ↗ FortiOS CLI reference ↗ Checked Jul 2026
Minor changeClear a stuck session
# Fortinet
diagnose sys session clear
# Palo Alto
clear session id <sessionid>

Clearing all sessions on Fortinet drops every active connection through the box — filter to a specific session where possible.

Forces a hung or stale session table entry to close, often needed after a policy change doesn't take effect for existing connections.

FortiOS CLI reference ↗ PAN-OS CLI cheat sheet ↗ Fortinet Docs ↗ Checked Jul 2026
ProcessFortinetFortiCloud portal & firmware downloads
  1. Sign in to the FortiCloud asset dashboard: https://support.fortinet.com/asset/#/dashboard
  2. To find firmware: https://support.fortinet.com/Download/FirmwareImages.aspx
  3. Select the product, then the release and the exact image for the model.
  4. Check the release notes for the upgrade path before applying.

Fortinet hosts registered-asset info and firmware images on the support portal; a support account tied to the device is required.

Fortinet Support portal ↗ PAN-OS CLI cheat sheet ↗ FortiOS CLI reference ↗ Checked Jul 2026
ProcessData flow — firewall packet path
Firewall: rule match, security inspection, NAT and routing, or drop and logarrivesallowedcleanforwardno ruleInbound packetZone and rulematchSecurity profilesIPS / AV / URLNAT and routingServer(DMZ / LAN)Drop and log
Inbound packet↓ arrives → Zone and rule match
Zone and rule match↓ allowed → Security profiles IPS / AV / URL↓ no rule → Drop and log
Drop and log
Security profiles IPS / AV / URL↓ clean → NAT and routing
NAT and routing↓ forward → Server (DMZ / LAN)
Server (DMZ / LAN)
Firewall: rule match, security inspection, NAT and routing, or drop and log
  1. The packet enters a zone or interface and is matched against rules top to bottom; the first match wins.
  2. If allowed, security profiles (IPS, antivirus, URL filtering) may inspect it.
  3. NAT and routing decide where it goes next.
  4. Anything with no matching allow rule is dropped and should be logged.
  5. To troubleshoot, find the log entry for the source, destination, and port and read which rule matched.

The order a firewall evaluates traffic. Knowing it tells you where to look in the logs.

NIST SP 800-41 firewall guidelines ↗ Firewall logs best practices — NIST SP 800-92 ↗ Network security groups — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Site can't reach an external service

  1. Check session state at the firewall (PAN: show session all filter / Forti: diagnose sys session filter).
  2. Confirm the relevant policy is actually matching.
  3. Clear a stuck session if the policy looks correct but traffic still fails.
  4. Rule out DNS resolution as the actual root cause before assuming it's the firewall.

VPN or NAT rule stopped working after a change

  1. Compare current config against last known-good, if you have config versioning.
  2. Check policy order — a broader rule above the intended one can shadow it.
  3. Test with a scoped rule change before rolling out broadly.
Networking / DNS / VPN / Wireless
SafeAdapter & connectivity baseline
ipconfig /all
Get-NetIPConfiguration | ft InterfaceAlias,IPv4Address,IPv4DefaultGateway,DNSServer -Auto
Test-NetConnection smtp.office365.com -Port 25
Test-NetConnection server.domain.local -Port 443
Get-NetAdapter | ft Name,Status,LinkSpeed,MacAddress -Auto

Get-NetIPConfiguration gives a cleaner, scriptable version of the same info as ipconfig /all for reports.

Get-NetIPConfiguration — Microsoft Learn ↗ Get-NetAdapter — Microsoft Learn ↗ Resolve-DnsName — Microsoft Learn ↗ Checked Jul 2026
SafeDNS & Wi-Fi/cellular diagnostics
Resolve-DnsName domain.com -Type MX
Resolve-DnsName domain.com -Type TXT
nslookup myip.opendns.com resolver1.opendns.com
Get-DnsClientServerAddress -AddressFamily IPv4
netsh wlan show interfaces
netsh mbn show interfaces

Resolve-DnsName is PowerShell-native nslookup — MX/TXT lookups are the standard first check for mail-routing and SPF issues.

Resolve-DnsName — Microsoft Learn ↗ Get-NetAdapter — Microsoft Learn ↗ Test-NetConnection — Microsoft Learn ↗ Checked Jul 2026
Minor changeReset DNS cache / adapter power settings
Clear-DnsClientCache
Get-NetAdapterPowerManagement -Name "Wi-Fi"

Clear-DnsClientCache is a safe, low-risk first step for stale-DNS symptoms; adapter power settings affect Wi-Fi drop/sleep behavior.

Clear-DnsClientCache — Microsoft Learn ↗ Get-NetAdapter — Microsoft Learn ↗ Resolve-DnsName — Microsoft Learn ↗ Checked Jul 2026
Safenslookup record types
nslookup -type=ns domain.com
nslookup -type=mx domain.com
nslookup -type=any domain.com

Queries name server, mail exchanger, or all available records for a domain. Some servers refuse any queries.

nslookup — Microsoft Learn ↗ Get-NetAdapter — Microsoft Learn ↗ Resolve-DnsName — Microsoft Learn ↗ Checked Jul 2026
ProcessReset network settings (Windows 11)
  1. Open Settings > Network & Internet > Advanced network settings.
  2. Select Network reset, then Reset now.
  3. Confirm. The PC restarts and network adapters are reinstalled.
  4. Reconnect to Wi-Fi and re-add any VPN profiles.
  5. Confirm the adapter is set to obtain an IP automatically (DHCP) under the Ethernet or Wi-Fi properties.

Last resort for connectivity problems — it wipes saved network configuration.

Network reset removes and reinstalls adapters and returns networking components to defaults. Saved Wi-Fi and VPN profiles are lost.

Troubleshoot networking — Microsoft Learn ↗ Get-NetAdapter — Microsoft Learn ↗ Resolve-DnsName — Microsoft Learn ↗ Checked Jul 2026
ProcessData flow — hybrid DNS (on-prem and Azure)
Hybrid DNS: forwarders in both directions between on-prem DNS and Azure Private DNSqueryconditional fwdlookupon-prem nameforward ruleOn-prem clientOn-prem DNSserverAzure DNS PrivateResolver (inbound)Azure PrivateDNS zoneAzure VMResolver(outbound)
On-prem client↓ query → On-prem DNS server
On-prem DNS server↓ conditional fwd → Azure DNS Private Resolver (inbound)
Azure DNS Private Resolver (inbound)↓ lookup → Azure Private DNS zone
Resolver (outbound)↓ forward rule → On-prem DNS server
Azure Private DNS zone
Azure VM↓ on-prem name → Resolver (outbound)
Hybrid DNS: forwarders in both directions between on-prem DNS and Azure Private DNS
  1. On-prem clients ask the on-prem DNS server.
  2. For Azure private names, a conditional forwarder sends the query to the Private Resolver inbound endpoint.
  3. The resolver answers from the linked Private DNS zone.
  4. Azure VMs use the outbound endpoint with forwarding rules to resolve on-prem names.
  5. Test both directions with nslookup name server-ip from each side.
Common issue walkthrough

Intermittent connectivity or can't reach a server

  1. Confirm the adapter is up with a valid IP: Get-NetAdapter, Get-NetIPConfiguration.
  2. Test the specific port: Test-NetConnection -Port.
  3. Check DNS is resolving correctly: Resolve-DnsName.
  4. Clear the DNS cache and retest: Clear-DnsClientCache.

Wi-Fi drops repeatedly

  1. Check current signal/state: netsh wlan show interfaces.
  2. Check adapter power-saving settings — "allow the computer to turn off this device" is a common culprit.
  3. Update or roll back the Wi-Fi driver if the pattern correlates with a recent update.
Networks
ProcessNetworks — Tools
  1. CapAnalysis ↗ — web visual tool to analyze large amounts of captured network traffic (PCAP analyzer)
  2. netbox ↗ — IP address management (IPAM) and data center infrastructure management (DCIM) tool

Section "Tools" of the "Networks" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Networks chapter ↗ Source list — GitHub ↗ CapAnalysis ↗ Checked Jul 2026
ProcessNetworks — Labs
  1. NRE Labs ↗ — learn automation by doing it. Right now, right here, in your browser

Section "Labs" of the "Networks" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Networks chapter ↗ Source list — GitHub ↗ NRE Labs ↗ Checked Jul 2026
ProcessNetworks — Other
  1. LBNL's Network Research Group ↗ — home page of the Network Research Group (NRG)

Section "Other" of the "Networks" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Networks chapter ↗ Source list — GitHub ↗ LBNL's Network Research Group ↗ Checked Jul 2026
Common issue walkthrough

Find a tool in the "Networks" chapter

  1. Open the matching section below.
  2. Open the tool link and read its README or manual.
  3. Test it on a lab or non-production system first.
  4. Record what you used in the ticket or change note.
Out-of-band & cloud console access
SafeServer BMC / iDRAC / iLO
ipmitool -I lanplus -H <bmc-ip> -U admin -P <pw> power status
racadm getsel
ilorest get Power. --select ComputerSystem.

BMC/iDRAC/iLO expose out-of-band management independent of the host OS — useful when the server itself is unresponsive.

IPMI/BMC background — Microsoft Learn ↗ az serial-console — Microsoft Learn ↗ az vm run-command — Microsoft Learn ↗ Checked Jul 2026
Minor changeRemote power cycle
ipmitool -I lanplus -H <bmc-ip> -U admin -P <pw> power cycle
racadm serveraction powercycle

A remote power cycle over the BMC works even if the OS has hung, since it doesn't depend on the host being responsive.

RACADM command details — Dell Support ↗ az serial-console — Microsoft Learn ↗ az vm run-command — Microsoft Learn ↗ Checked Jul 2026
SafeAzure VM — serial console & run-command
az serial-console connect -g <rg> -n <vm>
az vm boot-diagnostics get-boot-log -g <rg> -n <vm>
az vm run-command invoke -g <rg> -n <vm> --command-id RunPowerShellScript --scripts "Get-Service | where Status -eq 'Stopped'"

Serial console and run-command let you inspect or act on an Azure VM even when RDP/SSH is unreachable, without needing a public IP.

az vm run-command — Microsoft Learn ↗ az serial-console — Microsoft Learn ↗ RACADM command details — Dell Support ↗ Checked Jul 2026
SafeAzure Bastion (no public IP needed)
az network bastion rdp --name <bastion> -g <rg> --target-resource-id <vm-id>
az network bastion ssh --name <bastion> -g <rg> --target-resource-id <vm-id>

Azure Bastion provides browser-based RDP/SSH to a VM without exposing a public IP or opening inbound ports.

az network bastion — Microsoft Learn ↗ az serial-console — Microsoft Learn ↗ az vm run-command — Microsoft Learn ↗ Checked Jul 2026
SafeNetwork device — unreachable device
ping <ip> -t
tracert <ip>
show ip interface brief

Basic Layer-3 reachability check for network gear — pair with show ip interface brief to see which interface is actually down.

Ping and traceroute — Cisco ↗ az serial-console — Microsoft Learn ↗ az vm run-command — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Server unresponsive — OS not reachable

  1. Connect via BMC/iDRAC/iLO to check power/health status.
  2. Attempt a graceful action first if the OS shows any life via virtual console.
  3. If fully hung, power cycle via the BMC.
  4. Review the SEL/event log after recovery to find the root cause.

Azure VM unreachable via RDP/SSH

  1. Check boot diagnostics: az vm boot-diagnostics get-boot-log.
  2. Connect via serial console for a raw view: az serial-console connect.
  3. Run a diagnostic command without a full login: az vm run-command invoke.
  4. Use Bastion for a full interactive session once basic connectivity is confirmed.
SMTP Test (Telnet)
ProcessTest SMTP manually with Telnet
  1. Enable the Telnet Client Windows feature if needed.
  2. Run telnet <servername> 25.
  3. Type EHLO test.com — expect 250.
  4. Type MAIL FROM:admin@test.com — expect 250.
  5. Type RCPT TO:user@domain.com — expect 250.
  6. Type DATA — expect 354.
  7. Type a subject and message, press Enter twice, then . on its own line — expect 250.
  8. Type QUIT — expect 221.
  9. Confirm the recipient received it; on errors check the server event/transport logs.

Walks through an SMTP conversation by hand to prove a server accepts and relays mail on the chosen port.

Test SMTP with Telnet — Microsoft Learn ↗ Mail flow troubleshooting — Microsoft Learn ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Mail is not delivered

  1. Run the Telnet test against the sending server.
  2. If RCPT TO fails, check relay/accepted domains and connectors.
  3. If it works, run a message trace to see where it stops.
VPN
SafeWindows client VPN status
Get-VpnConnection | select Name,ConnectionStatus,ServerAddress,TunnelType

Confirms whether the profile exists and its last known connection state before troubleshooting the tunnel itself.

Lists configured VPN profiles on the local machine along with their current connection status.

Get-VpnConnection — Microsoft Learn ↗ ASA command reference — Cisco ↗ Get VPN statuses — Cisco DevNet ↗ Checked Jul 2026
Minor changeReconnect or re-create a VPN profile
rasdial "Corp VPN" username password
# or recreate the profile entirely
Add-VpnConnection -Name "Corp VPN" -ServerAddress vpn.domain.com -TunnelType Ikev2 -AuthenticationMethod Eap

Re-creating the profile is often faster than debugging a corrupted one — export settings first if the existing profile has custom split-tunnel rules.

rasdial connects using an existing profile; Add-VpnConnection builds a fresh profile from scratch when the old one won't connect.

rasdial — Microsoft Learn ↗ Get-VpnConnection — Microsoft Learn ↗ ASA command reference — Cisco ↗ Checked Jul 2026
SafeSite-to-site tunnel status (Cisco ASA)
show vpn-sessiondb detail anyconnect
show crypto isakmp sa

vpn-sessiondb shows client (AnyConnect) sessions; crypto isakmp sa shows the IKE phase-1 state for site-to-site tunnels.

The standard pair for confirming whether a VPN tunnel is actually up at the ASA, versus a problem on the client end.

ASA command reference — Cisco ↗ Get-VpnConnection — Microsoft Learn ↗ Get VPN statuses — Cisco DevNet ↗ Checked Jul 2026
SafeMeraki site-to-site VPN status
Invoke-RestMethod -Uri "https://api.meraki.com/api/v1/organizations/<orgId>/appliance/vpn/statuses" `
  -Headers @{"X-Cisco-Meraki-API-Key"=$merakiKey}

Shows every site-to-site VPN peer's connectivity state across the org in one call — faster than checking each MX individually.

Confirms which Auto VPN or third-party peers are currently reachable from each Meraki MX in the organization.

Get VPN statuses — Cisco DevNet ↗ Get-VpnConnection — Microsoft Learn ↗ ASA command reference — Cisco ↗ Checked Jul 2026
ProcessData flow — remote access VPN
Remote access VPN: client, gateway, authentication, then internal resourcesstartstunnelverifysecond factorallowed routesRemote userVPN clientVPN gateway /firewallAuthenticationRADIUS / Entra / ADInternal resourcesMFA prompt
Remote user↓ starts → VPN client
VPN client↓ tunnel → VPN gateway / firewall
VPN gateway / firewall↓ verify → Authentication RADIUS / Entra / AD↓ allowed routes → Internal resources
Internal resources
Authentication RADIUS / Entra / AD↓ second factor → MFA prompt
MFA prompt
Remote access VPN: client, gateway, authentication, then internal resources
  1. The client builds an encrypted tunnel to the gateway.
  2. The gateway checks credentials with RADIUS, Entra ID, or AD (and MFA if required).
  3. Allowed routes decide what the user can reach: split tunnel (only company ranges) or full tunnel (everything).
  4. If connected but nothing works, check DNS settings, routes, and firewall rules for the VPN pool.
  5. If it will not connect, check credentials, MFA, certificate, and whether UDP 500/4500 or the SSL port is blocked.

What happens during a VPN connection and the usual failure points at each stage.

VPN troubleshooting — Microsoft Learn ↗ VPN Gateway — Microsoft Learn ↗ NIST SP 800-41 firewall guidelines ↗ Checked Jul 2026
Common issue walkthrough

User can't connect to VPN

  1. Check the client-side profile status: Get-VpnConnection.
  2. Try reconnecting: rasdial.
  3. If the profile looks broken, recreate it: Add-VpnConnection.
  4. Check the concentrator side for a matching session attempt — if it's not arriving, the issue is upstream.

Site-to-site tunnel down

  1. Check phase-1 status (ASA: show crypto isakmp sa, or the Meraki VPN status endpoint).
  2. Confirm the peer's public IP hasn't changed.
  3. Check the pre-shared key or certificate hasn't expired.
  4. Re-initiate the tunnel and monitor for phase-1/phase-2 establishment.
03 On-Prem EnvironmentsActive Directory and Group Policy, file servers, VMs and storage, AIX, batch scheduling, GoAnywhere, and HEALTHsuite
Active Directory / Domain / Login
SafeUser & group lookups
Get-ADUser jsmith -Properties mail,enabled,lastLogonDate,memberOf | fl Name,Enabled,mail,lastLogonDate
Get-ADGroupMember "Group Name" | select Name,SamAccountName,ObjectClass
Get-ADPrincipalGroupMembership jsmith | select Name | sort Name
net user jsmith /domain

Get-ADUser and related cmdlets require the RSAT Active Directory module and query on-prem AD directly.

Get-ADUser — Microsoft Learn ↗ Troubleshoot account lockout — Microsoft Learn ↗ Troubleshoot AD replication — Microsoft Learn ↗ Checked Jul 2026
Minor changeGroup membership changes (AD)
Add-ADGroupMember "Group Name" -Members jsmith
Remove-ADGroupMember "Group Name" -Members jsmith -Confirm:$false

Changes may sync to Entra/downstream apps.

Group membership changes to AD-synced groups can propagate to Entra ID and downstream apps on the next sync cycle.

Add-ADGroupMember — Microsoft Learn ↗ Troubleshoot account lockout — Microsoft Learn ↗ Troubleshoot AD replication — Microsoft Learn ↗ Checked Jul 2026
SafeDomain health & discovery
Get-ADDomainController -Filter * | ft HostName,Site,IPv4Address,OperationMasterRoles -Auto
Get-ADDomain | fl PDCEmulator,DomainMode,MaxPasswordAge,MinPasswordLength,LockoutDuration
whoami /all
nltest /dsgetdc:domain.local
nltest /sc_verify:domain.local

nltest checks domain-controller discovery and secure-channel trust — useful when a machine can't reach any DC.

nltest — Microsoft Learn ↗ Troubleshoot account lockout — Microsoft Learn ↗ Troubleshoot AD replication — Microsoft Learn ↗ Checked Jul 2026
SafeCheck when an AD account was created
Get-ADUser <UserName> -Properties whenCreated | Format-List Name,whenCreated

whenCreated is a standard AD attribute stamped when the object is made.

Get-ADUser — Microsoft Learn ↗ Troubleshoot account lockout — Microsoft Learn ↗ Troubleshoot AD replication — Microsoft Learn ↗ Checked Jul 2026
Minor changeForce an AD Connect delta sync
# On the Azure AD Connect server
Import-Module ADSync
Start-ADSyncSyncCycle -PolicyType Delta

Starts an immediate delta cycle so on-prem changes reach Entra ID without waiting for the 30-minute schedule.

AD Connect sync scheduler — Microsoft Learn ↗ Troubleshoot account lockout — Microsoft Learn ↗ Troubleshoot AD replication — Microsoft Learn ↗ Checked Jul 2026
SafeFind which domain a workstation is on
systeminfo | findstr /B /C:"Domain"

Reads the Domain line from systeminfo. Shows WORKGROUP for non-domain machines.

systeminfo — Microsoft Learn ↗ Troubleshoot account lockout — Microsoft Learn ↗ Troubleshoot AD replication — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

User can't log in / account locked

  1. Confirm lockout state: Get-ADUser -Properties LockedOut,BadLogonCount.
  2. Find the source of bad attempts — event ID 4625 on the DCs, or an old cached credential/mapped drive/mobile device.
  3. Unlock the account: Unlock-ADAccount.
  4. Fix the bad-credential source before it re-locks the account.

Group membership isn't granting expected access

  1. Confirm actual membership: Get-ADPrincipalGroupMembership.
  2. Compare against a working user's group list with Compare-Object.
  3. Add the missing membership: Add-ADGroupMember.
  4. Allow time for AD replication / Entra sync before retesting.
AIX Server Administration
SafeAIXServer health snapshot
uname -a
oslevel -s
uptime
df -g
lsvg
lsvg -p rootvg
vmstat 2 5
iostat 2 3
svmon -G
topas

OS level, uptime, filesystem space, volume groups, and CPU/memory/disk activity in one pass. nmon is a richer alternative.

topas — IBM AIX ↗ Performance reporting commands — IBM AIX ↗ IBM AIX documentation ↗ nmon — IBM AIX ↗ Checked Jul 2026
SafeAIXRead the AIX error log
errpt | more
errpt -a | more
errpt -s 1119000026       # since MMDDhhmmYY
errpt -d H                # hardware errors only

errpt shows hardware, software, and OS errors recorded by AIX. Check it first after crashes or disk problems.

Performance and tools — IBM AIX ↗ IBM AIX documentation ↗ nmon — IBM AIX ↗ Checked Jul 2026
Minor changeAIXCheck and control services (SRC)
lssrc -a                # all subsystems
lssrc -s sshd           # one subsystem
stopsrc -s sshd
startsrc -s sshd
refresh -s inetd

Stopping sshd can lock you out of a remote session.

AIX uses the System Resource Controller for services instead of systemctl.

topas — IBM AIX ↗ IBM AIX documentation ↗ nmon — IBM AIX ↗ Checked Jul 2026
SafeAIXFind what is filling a filesystem
df -g
du -sg /var/* | sort -rn | head
find /var -xdev -size +500M -ls
fuser -cu /var            # who is using the filesystem

Locates large directories and files, and the processes holding them open.

Performance reporting commands — IBM AIX ↗ IBM AIX documentation ↗ nmon — IBM AIX ↗ Checked Jul 2026
SafeAIXCron and scheduled jobs on AIX/Unix
crontab -l
crontab -l <user>                 # as root
tail -50 /var/adm/cron/log
at -l

Lists scheduled jobs and the cron log, useful when a scheduled script did not run.

crontab(5) — man7 ↗ IBM AIX documentation ↗ nmon — IBM AIX ↗ Checked Jul 2026
Minor changeAIXUnlock an account and reset failed logins (AIX)
lsuser -a account_locked unsuccessful_login_count <user>
chuser account_locked=false <user>
chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s <user>
passwd <user>                 # set a new password (user is forced to change at next login)
pwdadm -c <user>              # clear the forced-change flag if needed

Verify the user's identity before resetting any account.

AIX keeps lock state and failed-login counts separately, so both must be cleared for a locked user to log in again.

chuser — IBM AIX ↗ lsuser — IBM AIX ↗ IBM AIX documentation ↗ Checked Jul 2026
SafeAIXList users, groups, and who is logged in
lsuser -f ALL | more          # all attributes for all users
lsuser -a id home shell ALL
lsgroup ALL
id <user>
who
last | head -20
w

Shows account settings, group membership, current sessions, and recent logins.

lsuser — IBM AIX ↗ lsgroup — IBM AIX ↗ IBM AIX documentation ↗ Checked Jul 2026
SafeAIXOS level, patches, and installed software
oslevel -s                    # full service pack level
instfix -i | grep ML          # maintenance levels installed
lslpp -L all | more           # all installed filesets
lslpp -l <fileset>
lsattr -El sys0 -a modelname

Confirms the exact AIX level before applying a fix or raising a vendor case.

oslevel — IBM AIX ↗ lslpp — IBM AIX ↗ IBM AIX documentation ↗ Checked Jul 2026
SafeAIXDisks, volume groups, and logical volumes
lspv                          # physical volumes
lsvg                          # volume groups
lsvg -l rootvg                # logical volumes in a VG
lslv <lvname>
df -g

Maps disks to volume groups and filesystems. Start here when a filesystem fills up or a disk is reported failed.

lsvg — IBM AIX ↗ lspv — IBM AIX ↗ IBM AIX documentation ↗ Checked Jul 2026
Minor changeAIXGrow a filesystem
df -g /data
chfs -a size=+1G /data        # add 1 GB to /data (needs free space in the VG)
df -g /data

Confirm approval and free space first. Shrinking is riskier than growing.

chfs grows a JFS2 filesystem online if the volume group has free partitions. Check lsvg <vg> for FREE PPs first.

chfs — IBM AIX ↗ lsvg — IBM AIX ↗ IBM AIX documentation ↗ Checked Jul 2026
SafeAIXPaging space and memory
lsps -a                       # paging space use
svmon -G                      # global memory
vmstat -s | head -20
topas

High paging space use or constant paging points to a memory shortage or a runaway process.

lsps — IBM AIX ↗ svmon — IBM AIX ↗ topas — IBM AIX ↗ Checked Jul 2026
SafeAIXNetwork checks on AIX
ifconfig -a
netstat -in                   # interfaces and errors
netstat -rn                   # routing table
netstat -an | grep LISTEN
entstat -d en0 | more         # adapter statistics and errors
lsattr -El en0
ping <host>
host <name>

Interface errors, routes, and listening ports in one pass.

netstat — IBM AIX ↗ entstat — IBM AIX ↗ IBM AIX documentation ↗ Checked Jul 2026
SafeAIXFind and manage processes
ps -ef | grep -i <name>
ps aux | sort -rn -k 3 | head   # top CPU
fuser -u /path/to/file
kill <pid>                      # polite stop (SIGTERM)
kill -9 <pid>                   # last resort

Killing a database or batch process can corrupt a run — check what it is first.

Always try plain kill first so the process can clean up; use -9 only when it will not stop.

ps — IBM AIX ↗ kill — IBM AIX ↗ IBM AIX documentation ↗ Checked Jul 2026
SafeAIXFile permissions and ownership
ls -l /path
ls -ltr /path | tail            # newest files last
chmod 640 file
chown user:group file
umask

Permission denied on a script, log, or transfer folder is a frequent cause of failed jobs.

chmod — IBM AIX ↗ chown — IBM AIX ↗ IBM AIX documentation ↗ Checked Jul 2026
Minor changeAIXSystem backup (mksysb) and verify
mksysb -i /backup/$(hostname).mksysb
lsmksysb -l /backup/$(hostname).mksysb | head

Creates a bootable image of rootvg. It uses disk space and I/O, so run it in the approved window.

mksysb — IBM AIX ↗ lsmksysb — IBM AIX ↗ IBM AIX documentation ↗ Checked Jul 2026
ProcessAIXUsing smitty
  1. Type smitty for the menu, or jump directly (for example smitty user or smitty lvm).
  2. Use arrow keys to move, Enter to select, and F4 for a list of valid values.
  3. Press F6 on a result screen to see the exact command smitty ran — use it to learn the command line.
  4. F3 goes back, F10 exits.
  5. Check ~/smit.log and ~/smit.script for history.

smitty is the AIX menu front end for system administration. It shows the real command (F6), which is a good way to learn them.

IBM AIX documentation ↗ smit — IBM AIX ↗ topas — IBM AIX ↗ Checked Jul 2026
Common issue walkthrough

Server is slow or a filesystem is full

  1. Run df -g and vmstat 2 5.
  2. Check errpt for disk or memory errors.
  3. Find large files with du and find.
  4. Escalate with the output attached.
Application Infrastructure & Tracing
ProcessTrace a failing application end to end
  1. Write the chain: user > network/VPN > DNS > web tier > application tier > database > file/batch feeds.
  2. Test DNS: nslookup server.
  3. Test the port: Test-NetConnection server -Port 443 (Windows) or nc -zv server 443 (Unix).
  4. Test the service: curl -vk https://server/ or open it in the browser and check the status code.
  5. Check the service and its logs on the server.
  6. Test the database from the app server.
  7. Check disk, CPU, and memory.
  8. Check what changed recently: patch, deployment, certificate, password, schedule.

Application infrastructure problems are solved by checking one link at a time.

Test-NetConnection — Microsoft Learn ↗ curl documentation ↗ HTTP status codes — MDN ↗ Checked Jul 2026
SafeConnectivity and port checks (Windows and Unix)
# Windows
nslookup server
Test-NetConnection server -Port 443
netstat -ano | findstr LISTEN
Get-Service | Where-Object Status -eq 'Stopped'

# Unix / AIX
host server
nc -zv server 443
netstat -an | grep LISTEN
curl -vk https://server/ -o /dev/null

Basic reachability and listening-port checks on either platform.

Test-NetConnection — Microsoft Learn ↗ curl documentation ↗ netstat — Microsoft Learn ↗ Checked Jul 2026
ProcessCommon application tiers and ports
  1. Web: 80 (HTTP), 443 (HTTPS), 8080/8443 (alternate).
  2. SFTP/SSH: 22. FTP: 21. FTPS: 21 or 990.
  3. SQL Server: 1433. Db2: 50000 (common default). Oracle: 1521. MySQL: 3306. PostgreSQL: 5432.
  4. DNS: 53. LDAP: 389. LDAPS: 636. Kerberos: 88. SMB: 445. RDP: 3389.
  5. SMTP: 25, 587 (submission), 465 (SMTPS). Confirm real ports in the environment documentation.

Quick reference for firewall and connectivity troubleshooting.

Service names and port numbers — IANA ↗ Test-NetConnection — Microsoft Learn ↗ HTTP status codes — MDN ↗ Checked Jul 2026
ProcessRecent-change checklist
  1. Patches or OS changes.
  2. Application or database deployments.
  3. Certificate or password expiry/rotation.
  4. Firewall, DNS, or network changes.
  5. Job schedule changes.
  6. Disk, backup, or storage changes.
  7. Ask: when did it last work, and what changed after that?

Most outages follow a change. Finding it early shortens the outage.

ITIL incident management — Atlassian ↗ Change enablement — Atlassian ↗ RAM Technologies HEALTHsuite announcement — PRWeb ↗ Checked Jul 2026
ProcessData flow — hybrid three-tier app (Azure front end, on-prem database)
Hybrid three-tier app: public front end in Azure, private link to an on-prem databaseAzureOn-premisesHTTPSroutesprivate linkSQL portUsersApplication Gateway/ WAFApp Serviceor VMsVPN orExpressRouteOn-prem SQLdatabase
Users↓ HTTPS → Application Gateway / WAF
Application Gateway / WAF↓ routes → App Service or VMs
App Service or VMs↓ private link → VPN or ExpressRoute
VPN or ExpressRoute↓ SQL port → On-prem SQL database
On-prem SQL database
Hybrid three-tier app: public front end in Azure, private link to an on-prem database
  1. Users reach the public front door (gateway and web firewall), which sends traffic to the web and app tier.
  2. The app tier talks to the on-prem database over the private VPN or ExpressRoute link; the database is never exposed to the internet.
  3. Latency across the link affects every query, so keep chatty calls and large result sets in mind.
  4. To trace a slow request, time each hop: browser, gateway, app, link, database.
  5. Use correlation IDs in logs so one request can be followed through every tier.

A common hybrid layout and the hops to measure when tracing a slow or failing request.

Hybrid network reference architectures — Microsoft Learn ↗ OpenTelemetry documentation ↗ Cloud deployment patterns — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

An application is slow or down

  1. Write the chain of components.
  2. Test each link in order.
  3. Check recent changes.
  4. Escalate with test results.
Batch Jobs & Scheduling
ProcessMonitor production batch jobs
  1. Open the scheduler console (for example ROC Maestro, cron, or Task Scheduler) at the start of your shift.
  2. Check each job stream: finished, running late, failed, or waiting on a dependency.
  3. For anything failed or late, open the job log and note the error and time.
  4. Check disk space and the database/server the job depends on.
  5. Report failures to the owner with the job name, time, and error text.
  6. Log the result in the ticket or shift notes.

A simple checklist for daily monitoring; names differ by scheduler but the steps are the same.

ROC Software ↗ Task Scheduler — Microsoft Learn ↗ crontab(5) — man7 ↗ Checked Jul 2026
ProcessA batch job failed — triage order
  1. Capture the job name, run time, and exit code.
  2. Read the end of the job log first, then work backward to the first error.
  3. Check usual causes: input file missing/late, disk full, locked table, expired password, network or server down, dependency job failed.
  4. If the fix is safe and documented, correct it and rerun (or release) the job.
  5. If not, hold dependent jobs and escalate.
  6. Document the cause and the fix.

Most batch failures are caused by missing inputs, space, locks, or credentials.

Task Scheduler — Microsoft Learn ↗ ROC Software ↗ crontab(5) — man7 ↗ Checked Jul 2026
SafeWindows Task Scheduler from PowerShell
Get-ScheduledTask | Get-ScheduledTaskInfo | Select TaskName,LastRunTime,LastTaskResult,NextRunTime
schtasks /query /fo LIST /v

LastTaskResult of 0 means success; other values are error codes. Useful for checking scheduled automation scripts.

Get-ScheduledTaskInfo — Microsoft Learn ↗ ROC Software ↗ Task Scheduler — Microsoft Learn ↗ Checked Jul 2026
ProcessJob failure report template
  1. Job/stream name and environment.
  2. Scheduled time, start time, and failure time.
  3. Error message and exit code.
  4. Impact: downstream jobs or customers affected.
  5. What was checked and what was done.
  6. Current status and next step or owner.

Short, consistent reports help the next person act without asking for details.

ITIL incident management — Atlassian ↗ ROC Software ↗ Task Scheduler — Microsoft Learn ↗ Checked Jul 2026
ProcessData flow — scheduled batch job stream
Batch job stream: dependencies, ordered jobs, and failure alertsrun date/timemust existstarton successon successon failureScheduler(Maestro / cron)Job streamJob 1extractJob 2load to Db2/SQLJob 3reportsFile arrives(dependency)Operator alert
Scheduler (Maestro / cron)↓ run date/time → Job stream
Job stream↓ start → Job 1 extract
File arrives (dependency)↓ must exist → Job stream
Job 1 extract↓ on success → Job 2 load to Db2/SQL
Job 2 load to Db2/SQL↓ on success → Job 3 reports↓ on failure → Operator alert
Operator alert
Job 3 reports
Batch job stream: dependencies, ordered jobs, and failure alerts
  1. The scheduler starts a job stream at its run time once its dependencies are met (files present, previous streams done).
  2. Jobs run in order; each starts only when the one before it succeeds.
  3. A failure stops the chain and alerts the operator.
  4. On failure: read the job output, fix the cause, then rerun from the failed job rather than the whole stream, if your procedure allows.
  5. Record the cause and the rerun in the ticket.

How a scheduled chain of jobs behaves, and how to respond when one fails.

HCL Workload Automation docs ↗ cron — Wikipedia ↗ Job scheduler — Wikipedia ↗ Checked Jul 2026
Common issue walkthrough

A nightly job did not finish

  1. Open the scheduler and find the job state.
  2. Read the log for the first error.
  3. Check space, locks, and inputs.
  4. Rerun if safe; otherwise escalate with the report.
Domain Controllers & Group Policy
SafeDC health & replication
dcdiag /v
repadmin /replsummary
repadmin /showrepl

Run dcdiag first for a broad pass/fail summary, then repadmin to dig into replication specifically.

The standard two-command combo for "is this domain controller healthy" — covers services, connectivity, and AD replication in one pass.

dcdiag — Microsoft Learn ↗ repadmin — Microsoft Learn ↗ Get-GPInheritance — Microsoft Learn ↗ Checked Jul 2026
SafeSYSVOL replication & FSMO roles
dfsrdiag replicationstate
netdom query fsmo

SYSVOL replication lag explains GPOs that apply inconsistently across sites; FSMO shows which DC owns each special role.

netdom query fsmo is the fastest way to confirm which domain controller currently holds each of the five FSMO roles.

netdom query — Microsoft Learn ↗ dcdiag — Microsoft Learn ↗ repadmin — Microsoft Learn ↗ Checked Jul 2026
SafeGPO inventory & effective policy
Get-GPO -All | select DisplayName,GpoStatus,ModificationTime
Get-GPInheritance -Target "OU=Sales,DC=domain,DC=local"

Get-GPInheritance shows the effective, blocked, and enforced link order for a specific OU — the fastest way to explain "why didn't this GPO apply."

Lists every GPO and shows exactly what's linked, blocked, or enforced at a given OU.

Get-GPInheritance — Microsoft Learn ↗ dcdiag — Microsoft Learn ↗ repadmin — Microsoft Learn ↗ Checked Jul 2026
Minor changeForce remote GPO refresh
Invoke-GPUpdate -Computer <name> -Force

Triggers gpupdate /force on a remote machine without needing a session on it — requires remoting rights.

Remote equivalent of running gpupdate /force locally — useful for pushing a policy change without waiting for the next refresh cycle.

Invoke-GPUpdate — Microsoft Learn ↗ dcdiag — Microsoft Learn ↗ repadmin — Microsoft Learn ↗ Checked Jul 2026
Big changeRestore a GPO from backup
Restore-GPO -Name "GPO Name" -Path "C:\GPOBackups"

Confirm you're restoring the correct backed-up version before running — this overwrites the live GPO's current settings.

Rolls a GPO back to a previously backed-up state — the standard recovery path after a bad policy change goes org-wide.

Restore-GPO — Microsoft Learn ↗ dcdiag — Microsoft Learn ↗ repadmin — Microsoft Learn ↗ Checked Jul 2026
SafeExport an applied-policy report (gpresult)
gpresult /h C:\temp\report.html

Open the HTML report to see exactly which GPOs applied, which were filtered out, and why — far more readable than scrolling gpresult /r output.

The HTML report format is the fastest thing to attach to a ticket when you need to prove which policies did or didn't apply to a specific machine or user.

gpresult — Microsoft Learn ↗ dcdiag — Microsoft Learn ↗ repadmin — Microsoft Learn ↗ Checked Jul 2026
ProcessLook up any Group Policy setting (GPS tool)
  1. Open the Group Policy Search tool and type a keyword (e.g. "Windows Update", "BitLocker", "USB storage").
  2. Use the product filter to narrow results to the OS/Office version you're targeting.
  3. Click a result to see its full details: Setting Type, Supported On, registry Key/Value, and the ADMX file it comes from.
  4. Toggle Registry View to jump straight to the exact HKLM/HKCU path and value — useful when scripting the equivalent registry change.
  5. Use Share > Registry Key+Value (or Category Path) to copy a direct link/reference for a ticket or runbook.
  6. Grab the current ADMX templates from the Link to ADMX Download if you need to import new policy definitions into your central store.

Covers every documented Group Policy setting across Windows and Office versions, including deprecated ones — useful both for finding a setting by keyword and for reverse-engineering what registry key a known policy actually writes.

Faster than digging through GPMC by hand when you know roughly what you're looking for but not the exact policy path — the Registry View feature is especially handy when you need the raw key/value to replicate a setting outside of Group Policy (e.g. in an Intune settings catalog or a script).

Group Policy Search (GPS) ↗ dcdiag — Microsoft Learn ↗ repadmin — Microsoft Learn ↗ Checked Jul 2026
ProcessExempt a computer or user from a GPO
  1. Open gpmc.msc and select the GPO.
  2. On the Delegation tab choose Advanced, add the computer or user.
  3. Tick Deny for Apply group policy, then OK.
  4. Alternatively right-click the GPO link and untick Link Enabled, or set GPO Status to Disabled.
  5. Run gpupdate /force on the target and confirm with gpresult /r.

Deny overrides Allow — double-check the exact object name.

Security filtering plus an explicit Deny on Apply group policy excludes one object without unlinking the GPO.

Group Policy overview — Microsoft Learn ↗ dcdiag — Microsoft Learn ↗ repadmin — Microsoft Learn ↗ Checked Jul 2026
SafeDefault domain password policy
Get-ADDefaultDomainPasswordPolicy

Returns length, complexity, history, age, and lockout settings for the domain.

Get-ADDefaultDomainPasswordPolicy — Microsoft Learn ↗ dcdiag — Microsoft Learn ↗ repadmin — Microsoft Learn ↗ Checked Jul 2026
ProcessView GPO change history
  1. In GPMC double-click the GPO (or right-click > History) if Advanced Group Policy Management is installed.
  2. Review versions, who changed them and when.
  3. Use Compare or Restore on a version if a change must be rolled back.

History is an AGPM feature, not available in stock GPMC.

AGPM History window — Microsoft Learn ↗ dcdiag — Microsoft Learn ↗ repadmin — Microsoft Learn ↗ Checked Jul 2026
ProcessData flow — on-prem domain logon (DHCP, DNS, Kerberos, GPO)
Domain logon: DHCP, DNS, Kerberos authentication, then Group Policygets IPDNS usedlocateGPOdownloadlogon doneClient PCDHCPIP + DNS serverDNSfinds the DC (SRV)Domain controllerKerberosSYSVOLGPO filesPolicies appliedDesktop andshares ready
Client PC↓ gets IP → DHCP IP + DNS server
DHCP IP + DNS server↓ DNS used → DNS finds the DC (SRV)
Desktop and shares ready
DNS finds the DC (SRV)↓ locate → Domain controller Kerberos
Policies applied↓ logon done → Desktop and shares ready
Domain controller Kerberos↓ GPO → SYSVOL GPO files
SYSVOL GPO files↓ download → Policies applied
Domain logon: DHCP, DNS, Kerberos authentication, then Group Policy
  1. The PC gets an IP address and DNS server from DHCP (DNS must point at AD DNS, not the router).
  2. It asks DNS for the domain controller records.
  3. It authenticates to the DC with Kerberos (time must be within 5 minutes).
  4. Group Policy downloads from SYSVOL and applies; drive maps and scripts run.
  5. Most logon problems are DNS, time, or network path: check those before the account.

The order of events at logon, so you can tell which layer is failing (network, DNS, time, authentication, policy).

Kerberos authentication — Microsoft Learn ↗ Group Policy overview — Microsoft Learn ↗ Troubleshoot Group Policy — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

GPO not applying to some machines

  1. Confirm the GPO is linked/enabled at the right OU: Get-GPInheritance.
  2. Check the target machine's applied policy: gpresult /h report.html.
  3. Force a refresh: Invoke-GPUpdate -Computer <name> -Force.
  4. Check SYSVOL replication isn't lagging on the DC serving that site.

AD replication errors between sites

  1. Get an overview: repadmin /replsummary.
  2. Drill into failing partners: repadmin /showrepl on the affected DC.
  3. Check network connectivity/firewall rules between sites — AD needs several ports open.
  4. Re-run dcdiag /v after fixing connectivity to confirm resolution.
File / Folder Permissions / Shares
SafeACLs & shares
Get-Acl "C:\Path\Folder" | fl
icacls "C:\Path\Folder"
Get-SmbShare | ft Name,Path,Description -Auto
Get-SmbShareAccess -Name "ShareName"

Get-Acl/icacls show effective NTFS permissions on a folder; Get-SmbShare/Get-SmbShareAccess show the separate share-level permissions layered on top.

icacls — Microsoft Learn ↗ Get-SmbShareAccess — Microsoft Learn ↗ File Server Resource Manager overview — Microsoft Learn ↗ Checked Jul 2026
SafeStorage & activity discovery
Get-ChildItem "C:\Path" -Recurse -File -ErrorAction SilentlyContinue | sort Length -Desc |
  select -First 20 FullName,@{n="MB";e={[math]::Round($_.Length/1MB,2)}}
Get-ChildItem "C:\Path" -Recurse -File | ? LastWriteTime -gt (Get-Date).AddDays(-2) | sort LastWriteTime -Desc
robocopy "C:\Source" "D:\Dest" /E /L /R:1 /W:1   # /L = list only, dry run

Robocopy with /L performs a dry run only — nothing is copied, useful for previewing scope before a real transfer.

robocopy — Microsoft Learn ↗ icacls — Microsoft Learn ↗ Get-SmbShareAccess — Microsoft Learn ↗ Checked Jul 2026
Minor changeGrant NTFS permission
icacls "C:\Path\Folder" /grant "DOMAIN\User:(OI)(CI)M"

icacls /grant adds an NTFS ACE for the target user/group — confirm the exact identity string before running.

icacls — Microsoft Learn ↗ Get-SmbShareAccess — Microsoft Learn ↗ File Server Resource Manager overview — Microsoft Learn ↗ Checked Jul 2026
Big changeMirror copy
robocopy "C:\Source" "D:\Dest" /MIR /R:1 /W:1

/MIR deletes destination extras — dangerous.

/MIR makes the destination an exact mirror of the source, deleting anything at the destination that isn't present at the source.

robocopy — Microsoft Learn ↗ icacls — Microsoft Learn ↗ Get-SmbShareAccess — Microsoft Learn ↗ Checked Jul 2026
ProcessFind who has a file locked
  1. On the file server, open Computer Management > System Tools > Shared Folders > Open Files.
  2. Find the file and note the user, then close the file if needed.
  3. A file starting with ~$ is a temporary lock file created by Office while the file is open.
  4. If nothing shows, check for a user's PC holding the lock and restart that app.

Open Files shows who holds a file open over the network and lets you close the handle.

openfiles — Microsoft Learn ↗ icacls — Microsoft Learn ↗ Get-SmbShareAccess — Microsoft Learn ↗ Checked Jul 2026
Minor changeMapped drives not showing in elevated prompts
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLinkedConnections /t REG_DWORD /d 1 /f
# Restart the PC afterwards

Makes mapped drives available to both elevated and standard tokens, which fixes drives that vanish when running as administrator.

Mapped drives not available — Microsoft Learn ↗ icacls — Microsoft Learn ↗ Get-SmbShareAccess — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

User denied access to a shared folder

  1. Check effective NTFS permissions: icacls or Get-Acl.
  2. Check the separate share-level permission: Get-SmbShareAccess.
  3. Grant the missing right at whichever layer is restrictive.
  4. Have the user disconnect and reconnect the mapped drive to refresh the token.

Running out of space on a file server volume

  1. Find the largest files/folders sorted by size.
  2. Check for recent large writes via LastWriteTime.
  3. Move, archive, or extend the volume as appropriate (see VM & Storage Health).
  4. Set up a space-alert threshold going forward if none exists.
GoAnywhere MFT
ProcessFortra GoAnywhereCheck a failed file transfer job
  1. Open the GoAnywhere admin console and go to the job log / audit views (names vary by version).
  2. Find the job or project by name and time; open the failed run.
  3. Read the error on the failing step (connect, login, get/put file).
  4. Check the resource (SFTP/FTP/network share) is reachable and the credentials or key are valid.
  5. Fix the cause and rerun the project, or cancel a stuck job from the Active Jobs list.
ProcessFortra GoAnywhereDebug a project
  1. Open the project in the designer.
  2. Turn on debug/verbose logging for the failing step (see the forum guide for your version).
  3. Run the project with test data or a test resource.
  4. Review the detailed log, fix, then turn debug off again.

Debug logging gives step-level detail for troubleshooting but creates large logs.

How to DEBUG a project — GoAnywhere forum ↗ GoAnywhere resources ↗ SFTP client troubleshooting — GoAnywhere ↗ Checked Jul 2026
SafeFortra GoAnywhereTest SFTP connectivity from a workstation
Test-NetConnection sftp.partner.com -Port 22
sftp -vvv user@sftp.partner.com     # verbose: shows auth and key errors

Separates network/firewall problems from credential or key problems. Verbose output names the exact failing stage.

Test-NetConnection — Microsoft Learn ↗ SFTP client troubleshooting — GoAnywhere ↗ GoAnywhere resources ↗ How to DEBUG a project — GoAnywhere forum ↗ Checked Jul 2026
ProcessFortra GoAnywhereCommon transfer failure causes
  1. Connection timed out: firewall or IP allow-list change.
  2. Authentication failed: expired password or wrong/rotated SSH key.
  3. Host key changed: partner server was rebuilt; verify with them before accepting.
  4. Permission denied: wrong folder rights on the remote side.
  5. No file found: partner did not send yet, or file name pattern changed.
  6. Certificate errors (FTPS/HTTPS): expired or untrusted certificate.
ProcessFortra GoAnywhereOnboard a new SFTP trading partner
  1. Collect from the partner: hostname, port, username, auth method (password or SSH key), source/destination folders, file naming pattern, schedule, and an IP allow-list contact.
  2. Create a resource (SFTP/FTPS) and a test project in GoAnywhere with the partner details.
  3. Exchange public keys or certificates. Never send private keys.
  4. Test connect and a small test file in both directions.
  5. Open firewall rules and allow-lists for the partner IPs.
  6. Move to a production project and schedule.
  7. Record the partner details, contacts, keys and expiry dates in the documentation system.

A standard checklist for adding a customer or vendor file exchange.

GoAnywhere resources — Fortra ↗ GoAnywhere user forum ↗ SFTP — OpenSSH ↗ Checked Jul 2026
SafeFortra GoAnywhereGenerate or inspect an SSH key pair
ssh-keygen -t rsa -b 4096 -f partner_key -C "company-partner"
ssh-keygen -l -f partner_key.pub          # fingerprint
cat partner_key.pub                       # send ONLY the .pub file to the partner

Never email or paste a private key.

Creates a key pair for key-based SFTP. The private key (no .pub) must stay on your side.

ssh-keygen — OpenBSD ↗ GoAnywhere resources — Fortra ↗ GoAnywhere user forum ↗ Checked Jul 2026
SafeFortra GoAnywhereTest PGP encryption and decryption (gpg)
gpg --import partner_public.asc
gpg --list-keys
gpg --encrypt --armor -r partner@example.com test.txt
gpg --decrypt test.txt.asc > test_out.txt
gpg --list-secret-keys

Confirms a key imports and that a test file encrypts and decrypts before real data is sent.

GnuPG documentation ↗ GoAnywhere resources — Fortra ↗ GoAnywhere user forum ↗ Checked Jul 2026
SafeFortra GoAnywhereCheck certificate expiry of an FTPS or HTTPS endpoint
openssl s_client -connect host:443 -servername host </dev/null 2>/dev/null | openssl x509 -noout -dates -subject
# FTPS:
openssl s_client -connect host:21 -starttls ftp </dev/null 2>/dev/null | openssl x509 -noout -dates

Expired certificates are a common cause of sudden transfer failures.

openssl s_client — OpenSSL ↗ GoAnywhere resources — Fortra ↗ GoAnywhere user forum ↗ Checked Jul 2026
ProcessFortra GoAnywhereFile did not arrive or was sent twice
  1. Check the job log for the run time and whether the get/put step succeeded.
  2. Confirm the file name pattern and date in the file name match what the project expects.
  3. Check the partner's folder and timestamps directly (sftp ls -l).
  4. If duplicate, check for two projects or a rerun, and whether the archive step moved the first copy.
  5. Tell the file's owner what happened before resending or deleting anything.
  6. Document the cause and any change made.

The two most common file-transfer complaints and how to check them.

GoAnywhere user forum ↗ GoAnywhere resources — Fortra ↗ sftp — OpenSSH ↗ Checked Jul 2026
ProcessFortra GoAnywhereDaily MFT monitoring checklist
  1. Review overnight job results and failures.
  2. Check for stuck or long-running jobs in Active Jobs.
  3. Check disk space on the MFT server and archive folders.
  4. Check certificate and SSH key expirations coming up in the next 30 days.
  5. Check that expected inbound files arrived on time.
  6. Report anything abnormal with job name, time, and error.

A short routine that catches most transfer problems before the customer does.

GoAnywhere resources — Fortra ↗ GoAnywhere user forum ↗ ITIL incident management — Atlassian ↗ Checked Jul 2026
ProcessData flow — managed file transfer with GoAnywhere
MFT: partner connects, GoAnywhere runs a project, file lands for the batch processsends fileauthenticatetriggerdeliverschedulelogTrading partnerSFTP / FTPS / AS2listenerGoAnywhere MFTProject / workflowAIX app /Db2 loadScheduler(Maestro)Audit log andalerts
Trading partner↓ sends file → SFTP / FTPS / AS2 listener
SFTP / FTPS / AS2 listener↓ authenticate → GoAnywhere MFT
Scheduler (Maestro)↓ schedule → GoAnywhere MFT
GoAnywhere MFT↓ trigger → Project / workflow↓ log → Audit log and alerts
Audit log and alerts
Project / workflow↓ deliver → AIX app / Db2 load
AIX app / Db2 load
MFT: partner connects, GoAnywhere runs a project, file lands for the batch process
  1. A partner or system connects with SFTP, FTPS, or AS2 and authenticates with a key or password.
  2. GoAnywhere stores the file and starts a project (a workflow) by schedule or by file arrival.
  3. The project moves, renames, encrypts, or decrypts the file and delivers it to the target server.
  4. Downstream batch jobs (for example in Maestro) start when the file is present.
  5. If a file is missing, check the GoAnywhere audit log, then the partner's connection and key, then the project run history.

Generic flow based on how MFT products work; confirm details with your team.

A typical file-transfer flow for health-plan batch processing. Exact project names and paths come from your environment.

GoAnywhere MFT documentation ↗ SFTP — Wikipedia ↗ AS2 — Wikipedia ↗ Checked Jul 2026
Common issue walkthrough

Partner file did not arrive

  1. Check the job log for the run.
  2. Test connectivity and login with sftp -vvv.
  3. Confirm the partner sent the file.
  4. Rerun the project after the fix.
HEALTHsuite (RAM Platform)
ProcessHow HEALTHsuite fits together
  1. HEALTHsuite is RAM's own platform for managing health plan client data. Users work in a browser (HTML pages); the pages read and write data in a SQL database.
  2. Chain to remember: user's browser > network > web/application server > database (SQL) > batch jobs and file feeds (GoAnywhere, Maestro) that load and extract data.
  3. A problem can sit in any link, so test them one at a time starting at the user and working back.
  4. Data usually enters through scheduled file loads and leaves through extracts and reports.
  5. Everything touching it is regulated PHI — handle it under HIPAA rules.

Confirm the specific tiers, servers and tables from RAM's internal documentation.

A mental model for supporting a browser-based application that sits on a database. This is a general model; the internal design is documented in RAM's own runbooks.

RAM Technologies HEALTHsuite announcement — PRWeb ↗ HEALTHsuite Advantage — Capterra ↗ HIPAA Security Rule — HHS ↗ Checked Jul 2026
ProcessA HEALTHsuite page will not load or errors
  1. Ask: which page, which user, what time, and the exact message. Does it fail for everyone or one user?
  2. Try another browser or a private window; hard refresh with Ctrl+F5.
  3. Open developer tools (F12) > Network and reload; note the failing request and its HTTP status.
  4. Status guide: 401/403 permissions or session; 404 wrong or missing page; 500 application or database error; 502/503/504 web or app tier down or slow.
  5. If 500 or 5xx, check the application and web server logs for the same time.
  6. Test the database from the app server (see test connection).
  7. If everyone is affected, check the web/app services and the database before anything else.
  8. Escalate with URL, time, user, status code, and log lines.

Following the request from the browser backward finds the failing layer quickly.

HTTP status codes — MDN ↗ Chrome DevTools ↗ RAM Technologies HEALTHsuite announcement — PRWeb ↗ Checked Jul 2026
ProcessBrowser developer tools in two minutes
  1. Press F12 (or Ctrl+Shift+I).
  2. Console tab: red errors are script problems; copy the first one.
  3. Network tab: reload the page, sort by Status or Time, and click a red or slow request.
  4. Headers tab shows the URL, method, and status; Response tab shows the server message.
  5. Disable cache (checkbox) and try again if the page looks old.
  6. Screenshot with PHI hidden, or note the status codes and URLs instead.

Quick way to see whether a page problem is the browser, the network, or the server.

Chrome DevTools ↗ Browser DevTools — MDN ↗ HTTP status codes — MDN ↗ Checked Jul 2026
SafeCheck the web service (if it runs on Windows/IIS)
Get-Service W3SVC, WAS
Import-Module WebAdministration
Get-WebAppPoolState
Get-WebSite | Select Name,State,Bindings
Get-WinEvent -LogName Application -MaxEvents 30 | Where-Object {$_.LevelDisplayName -in 'Error','Warning'}
# log files: C:\inetpub\logs\LogFiles

If the front end is hosted on IIS these show whether the site and app pool are running and what errors were logged.

IIS documentation — Microsoft Learn ↗ Get-WinEvent — Microsoft Learn ↗ HTTP status codes — MDN ↗ Checked Jul 2026
SafeAIXCheck the web service (if it runs on AIX/Unix)
ps -ef | grep -i -E "http|java|tomcat|nginx"
netstat -an | grep -E "LISTEN.*(80|443|8080)"
tail -100 /path/to/logs/error_log
grep -i -E "error|exception" /path/to/logs/*.log | tail -30
df -g

If the web or application tier runs on AIX/Unix, confirm the process is up, the port is listening, and look at the newest errors.

IBM AIX documentation ↗ netstat — IBM AIX ↗ HTTP status codes — MDN ↗ Checked Jul 2026
SafeTest the database connection from the app server
# Reach the port
Test-NetConnection dbserver -Port 1433      # SQL Server default
Test-NetConnection dbserver -Port 50000     # Db2 common default
# Run a trivial query (SQL Server)
sqlcmd -S dbserver -d DBNAME -E -Q "SELECT 1"
# Db2
db2 connect to DBNAME user <user>
db2 "values current timestamp" 

Separates "the database is unreachable" from "the application is misbehaving". Ports shown are defaults; confirm the real ones.

Test-NetConnection — Microsoft Learn ↗ sqlcmd utility — Microsoft Learn ↗ Db2 documentation — IBM ↗ Checked Jul 2026
SafeRead-only data checks for a member or claim question
-- Always use read-only access, the minimum columns, and approved tables or views.
-- Replace placeholders with the real table and column names from the data dictionary.
SELECT TOP 20 * FROM <member_table> WHERE <member_id> = '<id>';          -- SQL Server
SELECT * FROM <member_table> WHERE <member_id> = '<id>' FETCH FIRST 20 ROWS ONLY;   -- Db2

-- How many rows by status, and when was the last update?
SELECT <status>, COUNT(*), MAX(<updated_at>) FROM <claim_table> GROUP BY <status>;

PHI. Query only what the ticket needs and follow the minimum-necessary rule.

Compares what the screen shows with what the database holds. Use IDs rather than names, return only what is needed, and never copy results into email or chat.

SELECT — Microsoft Learn ↗ Db2 documentation — IBM ↗ HIPAA Security Rule — HHS ↗ Checked Jul 2026
ProcessData load to screen: trace a missing record end to end
  1. Source: did the file arrive on time and with the expected name? (GoAnywhere job log)
  2. Scheduling: did the load job run and succeed? (Maestro conman "sj")
  3. Load: any rejects or errors, and does the loaded row count match the file? (job log, Db2/SQL counts)
  4. Database: does the record exist and with the right status/date? (read-only query)
  5. Application: is the record visible on the screen, or hidden by a filter, date range, or permission?
  6. Say which link broke: file, job, load, data, or screen — and report with times and counts.

The standard way to answer "why is this member, claim, or file not showing?"

RAM Technologies HEALTHsuite announcement — PRWeb ↗ conman commands — HCL Workload Automation ↗ GoAnywhere user forum ↗ Checked Jul 2026
ProcessHandle PHI while troubleshooting
  1. Use the minimum necessary: ticket IDs and record numbers instead of names or full details.
  2. Do not paste PHI into tickets, chat, or email unless that channel is approved for it.
  3. Blur or crop screenshots; remove PHI from logs before sharing.
  4. Share files only through approved secure transfer.
  5. Lock your screen; never share logins.
  6. Report any suspected exposure right away through the security/incident process.

Everything in a health plan data platform is regulated. These habits keep support work compliant.

HIPAA Security Rule — HHS ↗ HIPAA minimum necessary — HHS ↗ CMS.gov ↗ Checked Jul 2026
ProcessReply to a health plan customer technical question
  1. Acknowledge quickly: you have it, who owns it, and when they will hear back.
  2. Restate the question in one sentence to confirm you understood.
  3. Gather facts: what, when, who affected, screenshots or IDs (no PHI in email).
  4. Answer plainly: what happened, what was done, what they should do, and what is still open.
  5. Give a next update time, even if the answer is "still investigating".
  6. Log the question, answer, and resolution so the next person can reuse it.
ProcessData flow — web application backed by SQL (generic)
Generic web app + SQL: browser, web server, application, database, batch loads, reportsHTTPSrequestsqueriesloadsresultsUserbrowserWeb serverHEALTHsuiteapplicationSQL databaseBatch jobsReports /exports
User browser↓ HTTPS → Web server
Web server↓ requests → HEALTHsuite application
HEALTHsuite application↓ queries → SQL database
Batch jobs↓ loads → SQL database
SQL database↓ results → Reports / exports
Reports / exports
Generic web app + SQL: browser, web server, application, database, batch loads, reports
  1. The user opens the application in a browser over HTTPS.
  2. The web server passes requests to the application, which reads and writes the SQL database.
  3. Batch jobs load or update data on a schedule.
  4. Reports and exports come from database queries.
  5. Slow page: check the query (blocking, missing index), then the web server, then the network. Error page: check the app and web server logs for the time of the error.

Generic flow; not a description of RAM internals.

A generic picture of a browser-based application on a SQL database. HEALTHsuite internals are not public, so confirm real server names and ports with your team.

SQL Server blocking — Microsoft Learn ↗ HTTP overview — MDN ↗ HTTP status codes — MDN ↗ Checked Jul 2026
Common issue walkthrough

A user cannot open a page

  1. Check one user vs everyone.
  2. F12 > Network: note the failing request and status code.
  3. Check the web/app service and the database connection.
  4. Escalate with the details.

A record is missing on screen

  1. Check the source file arrived.
  2. Check the load job ran.
  3. Check the row exists in the database.
  4. Check filters or permissions on the screen.
ROC Maestro
ProcessROC MaestroMaestro vocabulary and job states
  1. Workstation (CPU): a server or agent where jobs run.
  2. Job: one unit of work (a script or command).
  3. Job stream (schedule): a group of jobs with dependencies and a run window.
  4. Dependency: what a job waits on — another job, a file, a time, or a resource.
  5. Limit: how many jobs may run at once on a workstation or stream.
  6. Fence: jobs with a priority below the fence will not launch.
  7. Common states: SUCC (finished OK), ABEND (failed), FAIL (could not launch), EXEC (running), READY (can launch), WAIT (waiting on dependencies), HOLD (held by an operator), PEND/SCHED (waiting for the stream start).

ROC Maestro descends from the original Maestro scheduler (later Tivoli/HCL Workload Scheduler). The conman commands here follow that lineage; confirm exact syntax in your version.

Maestro schedulers share a common model. Learn these words first; every command and screen uses them.

ROC Maestro for Open Systems overview ↗ conman commands — HCL Workload Automation ↗ Maestro UNIX user guide (Tivoli lineage) — Princeton archive ↗ Checked Jul 2026
SafeROC MaestroSee jobs and job streams (showjobs / showschedules)
conman "sj"                      # show jobs (short form of showjobs)
conman "sj @#@.@"                # all jobs on all workstations
conman "sj @#@.@" | grep -i abend   # only failed jobs
conman "ss @"                    # show job streams
conman "ss @#STREAMNAME"        # one stream

sj and ss are read-only. Use them first thing in the morning and again when a user reports a late or missing file.

conman commands — HCL Workload Automation ↗ Maestro UNIX user guide (Tivoli lineage) — Princeton archive ↗ ROC Maestro for Open Systems overview ↗ Checked Jul 2026
Minor changeROC MaestroRerun a failed job
conman "sj @#STREAMNAME.@"          # find the exact name and state
conman "rr WORKSTATION#STREAMNAME.JOBNAME"   # rerun (short for rerun)

Confirm the job is safe to rerun (some jobs duplicate data if run twice).

Reruns a job that ended in ABEND after the cause is fixed. Check dependent jobs and whether the job is safe to repeat.

conman commands — HCL Workload Automation ↗ Maestro UNIX user guide (Tivoli lineage) — Princeton archive ↗ ROC Maestro for Open Systems overview ↗ Checked Jul 2026
Minor changeROC MaestroRelease, hold, and confirm
conman "rj WORKSTATION#STREAMNAME.JOBNAME"      # release job dependencies
conman "rs WORKSTATION#STREAMNAME"              # release a stream
conman "conf WORKSTATION#STREAMNAME.JOBNAME ;succ"   # confirm as successful
conman "conf WORKSTATION#STREAMNAME.JOBNAME ;abend"  # confirm as failed

release lets a held or waiting job proceed; confirm marks the result of a job that was run manually outside Maestro.

conman commands — HCL Workload Automation ↗ Maestro UNIX user guide (Tivoli lineage) — Princeton archive ↗ ROC Maestro for Open Systems overview ↗ Checked Jul 2026
Big changeROC MaestroCancel or kill a job
conman "cj WORKSTATION#STREAMNAME.JOBNAME"   # cancel (job will not run)
conman "k  WORKSTATION#STREAMNAME.JOBNAME"   # kill a running job

Get approval and tell the owner — dependent jobs can be skipped or blocked.

cancel removes a job from the day's run; kill stops one that is executing. Downstream jobs may be affected.

conman commands — HCL Workload Automation ↗ Maestro UNIX user guide (Tivoli lineage) — Princeton archive ↗ ROC Maestro for Open Systems overview ↗ Checked Jul 2026
Minor changeROC MaestroAdd or remove a dependency
conman "adj WORKSTATION#STREAMNAME.JOBNAME ;follows WORKSTATION#STREAMNAME.OTHERJOB"
conman "ddj WORKSTATION#STREAMNAME.JOBNAME ;follows WORKSTATION#STREAMNAME.OTHERJOB" 

Changes affect today's run only. Document the reason in the ticket.

Temporarily make a job wait for another one, or remove a dependency that is blocking it.

conman commands — HCL Workload Automation ↗ Maestro UNIX user guide (Tivoli lineage) — Princeton archive ↗ ROC Maestro for Open Systems overview ↗ Checked Jul 2026
Minor changeROC MaestroSubmit an ad hoc job or command
conman "sbd 'ls -l /data/inbound'"            # submit a command
conman "sbj JOBNAME"                          # submit an existing job
conman "sbs STREAMNAME"                       # submit a stream
Minor changeROC MaestroLimit, fence, and priority
conman "lc WORKSTATION ;5"               # job limit on a workstation
conman "ls WORKSTATION#STREAMNAME ;3"    # job limit on a stream
conman "f 20"                            # set the fence (jobs below 20 will not launch)
conman "ap WORKSTATION#STREAMNAME.JOBNAME ;10"   # change job priority

Controls how many jobs run at once and which run first. Use when the system is overloaded or a priority job is stuck behind others.

conman commands — HCL Workload Automation ↗ Maestro UNIX user guide (Tivoli lineage) — Princeton archive ↗ ROC Maestro for Open Systems overview ↗ Checked Jul 2026
Big changeROC MaestroStart and stop production processes
conman "stop"
conman "stop ;progressive"
conman "start" 

Never stop production processes without approval — it pauses all scheduled work on that machine.

Starts or stops the scheduler's production processes on a workstation. Jobs on that workstation will not launch while stopped.

conman commands — HCL Workload Automation ↗ Maestro UNIX user guide (Tivoli lineage) — Princeton archive ↗ ROC Maestro for Open Systems overview ↗ Checked Jul 2026
ProcessROC MaestroA job abended — what to do
  1. Run conman "sj" and note the job name, stream, workstation, and time.
  2. Open the job's output/log (path is in the job definition) and read the end first.
  3. Check the usual causes: input file missing, filesystem full, database error (SQLCODE), expired password, remote host down.
  4. Check downstream jobs that are waiting on it.
  5. Fix the cause. If safe, rerun with rr; if not, hold dependents and escalate.
  6. Document the cause, fix, and time in the ticket.
Common issue walkthrough

Nightly stream abended

  1. Run conman "sj @#@.@" | grep -i abend.
  2. Read the job log, fix the cause (space, file, database).
  3. conman "rr <job>" if safe to rerun.
  4. Release dependents and report.

A job is stuck in WAIT or HOLD

  1. conman "sj" shows what it follows.
  2. Check whether the predecessor finished or the file exists.
  3. rj to release, or ddj to remove the dependency, with approval.
Systems & Services
ProcessSystems/Services — Operating Systems
  1. Slackware ↗ — the most "Unix-like" Linux distribution
  2. OpenBSD ↗ — multi-platform 4.4BSD-based UNIX-like operating system
  3. HardenedBSD ↗ — HardenedBSD aims to implement innovative exploit mitigation and security solutions
  4. Kali Linux ↗ — Linux distribution used for Penetration Testing, Ethical Hacking and network security assessments
  5. Parrot Security OS ↗ — cyber security GNU/Linux environment
  6. Backbox Linux ↗ — penetration test and security assessment oriented Ubuntu-based Linux distribution
  7. BlackArch ↗ — is an Arch Linux-based penetration testing distribution for penetration testers
  8. Pentoo ↗ — is a security-focused livecd based on Gentoo
  9. Security Onion ↗ — Linux distro for intrusion detection, enterprise security monitoring, and log management
  10. Tails ↗ — is a live system that aims to preserve your privacy and anonymity
  11. vedetta ↗ — OpenBSD router boilerplate
  12. Qubes OS ↗ — is a security-oriented OS that uses Xen-based virtualization

Section "Operating Systems" of the "Systems/Services" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Systems/Services chapter ↗ Source list — GitHub ↗ Slackware ↗ Checked Jul 2026
ProcessSystems/Services — HTTP(s) Services
  1. Varnish Cache ↗ — HTTP accelerator designed for content-heavy dynamic web sites
  2. Nginx ↗ — open source web and reverse proxy server that is similar to Apache, but very light weight
  3. OpenResty ↗ — is a dynamic web platform based on NGINX and LuaJIT
  4. Tengine ↗ — a distribution of Nginx with some advanced features
  5. Caddy Server ↗ — is an open source, HTTP/2-enabled web server with HTTPS by default
  6. HAProxy ↗ — the reliable, high performance TCP/HTTP load balancer

Section "HTTP(s) Services" of the "Systems/Services" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Systems/Services chapter ↗ Source list — GitHub ↗ Varnish Cache ↗ Checked Jul 2026
ProcessSystems/Services — DNS Services
  1. Unbound ↗ — validating, recursive, and caching DNS resolver (with TLS)
  2. Knot Resolver ↗ — caching full resolver implementation, including both a resolver library and a daemon
  3. PowerDNS ↗ — is an open source authoritative DNS server, written in C++ and licensed under the GPL

Section "DNS Services" of the "Systems/Services" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Systems/Services chapter ↗ Source list — GitHub ↗ Unbound ↗ Checked Jul 2026
ProcessSystems/Services — Other Services
  1. 3proxy ↗ — tiny free proxy server

Section "Other Services" of the "Systems/Services" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Systems/Services chapter ↗ Source list — GitHub ↗ 3proxy ↗ Checked Jul 2026
ProcessSystems/Services — Security/hardening
  1. Emerald Onion ↗ — is a 501(c)(3) nonprofit organization and transit internet service provider (ISP)
  2. pi-hole ↗ — the Pi-hole® is a DNS sinkhole that protects your devices from unwanted content
  3. maltrail ↗ — malicious traffic detection system
  4. security_monkey ↗ — monitors AWS, GCP, OpenStack, and GitHub orgs for assets and their changes over time
  5. firecracker ↗ — secure and fast microVMs for serverless computing
  6. streisand ↗ — sets up a new server running your choice of WireGuard, OpenSSH, OpenVPN, and more

Section "Security/hardening" of the "Systems/Services" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Systems/Services chapter ↗ Source list — GitHub ↗ Emerald Onion ↗ Checked Jul 2026
Common issue walkthrough

Find a tool in the "Systems/Services" chapter

  1. Open the matching section below.
  2. Open the tool link and read its README or manual.
  3. Test it on a lab or non-production system first.
  4. Record what you used in the ticket or change note.
VM & Storage Health
SafeDisk space check — Windows guest
Get-CimInstance Win32_LogicalDisk | select DeviceID,
  @{n="FreeGB";e={[math]::Round($_.FreeSpace/1GB,2)}},
  @{n="SizeGB";e={[math]::Round($_.Size/1GB,2)}}

Run locally, or wrap in Invoke-Command / az vm run-command for a remote VM you can't RDP into.

The standard low-disk-space alert triage command — shows every volume's free vs. total capacity in one line.

Get-CimInstance — Microsoft Learn ↗ Get-VHD — Microsoft Learn ↗ Resize-Partition — Microsoft Learn ↗ Checked Jul 2026
SafeHyper-V VHD/VHDX growth
Get-VM | select Name,@{n="VHDPath";e={(Get-VMHardDiskDrive $_.Name).Path}}
Get-VHD -Path <path> | select Path,Size,FileSize,VhdType

Dynamic VHDX files grow toward their max size — FileSize is actual host disk consumption, Size is the configured cap.

Useful when host storage is full but the guest OS reports plenty of free space — the dynamic disk itself has grown large on the host.

Get-VHD — Microsoft Learn ↗ Resize-Partition — Microsoft Learn ↗ az disk update — Microsoft Learn ↗ Checked Jul 2026
Minor changeExtend a full Windows volume
Get-PartitionSupportedSize -DriveLetter C
Resize-Partition -DriveLetter C -Size (Get-PartitionSupportedSize -DriveLetter C).SizeMax

Only works if unallocated space already exists on the same disk — extend the underlying Azure/VMware/Hyper-V disk first if not.

Grows an existing partition into adjacent unallocated space without needing a reboot in most cases.

Resize-Partition — Microsoft Learn ↗ Get-VHD — Microsoft Learn ↗ az disk update — Microsoft Learn ↗ Checked Jul 2026
Minor changeGrow an Azure managed disk
az disk update -g <rg> -n <diskName> --size-gb <newSize>

OS-disk resize typically requires the VM to be deallocated first; data disks on some SKUs support online resize.

Increases the disk's provisioned size in Azure — you still need to extend the partition inside the guest afterward.

az disk update — Microsoft Learn ↗ Get-VHD — Microsoft Learn ↗ Resize-Partition — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

VM disk-full alert

  1. Check guest-level free space: Get-CimInstance Win32_LogicalDisk.
  2. If the guest disk has room on the underlying disk, extend the partition: Resize-Partition.
  3. If the underlying disk is also full, grow it first (Azure disk, Hyper-V VHD, or VMware datastore).
  4. Clean up large/old files as a stopgap while the resize is scheduled.

Host storage full even though guests report free space

  1. Check dynamic VHD/VHDX actual file size vs. configured max: Get-VHD.
  2. Check for orphaned snapshots/checkpoints consuming space.
  3. Compact or consolidate disks during a maintenance window.
04 Hybrid EnvironmentsEntra Connect sync, Exchange hybrid, Azure connectivity, hybrid identity, and change management across on-prem and cloud
Change Management for Automation (On-Prem / Hybrid / Cloud)
ProcessChange request: what to include
  1. Summary: what is changing and why.
  2. Systems and users affected, and the risk and impact.
  3. Type: standard (pre-approved), normal (needs review), or emergency.
  4. Implementation steps, who does them, and the schedule/window.
  5. Test plan and how success will be verified.
  6. Backout (rollback) plan and the point of no return.
  7. Approvals and communication plan.
  8. Post-change review: did it work, what was learned.

A complete change record makes approval faster and recovery easier.

Change management — Atlassian ↗ NIST SP 800-128 configuration management ↗ ITIL change enablement — Atlassian ↗ Checked Jul 2026
ProcessRoll out a new automation or AI agent safely
  1. Pilot in a test environment or with one low-risk client or team.
  2. Start in approval-required mode — a person confirms every action.
  3. Review the audit log of what it did and what it would have done.
  4. Fix gaps in rules, permissions, and data.
  5. Widen to more clients in stages, still with approval on risky actions.
  6. Move low-risk, proven tasks to zero-touch; keep approval on access changes, deletions, and anything affecting PHI.
  7. Schedule regular reviews and keep a rollback plan and kill switch.

The same staged approach works for Pia automations, Thread flows, Power Automate, and in-house scripts.

Change management — Atlassian ↗ NIST AI Risk Management Framework ↗ Pia pre-built automations ↗ Checked Jul 2026
ProcessOn-prem, hybrid, or cloud: what changes
  1. Identity: on-prem uses Active Directory; cloud uses Entra ID; hybrid needs sync (Entra Connect) and care with which side owns an object.
  2. Connectivity: on-prem and hybrid automations often need an agent or connector inside the network and outbound firewall rules.
  3. Credentials: service accounts and permissions differ by side — least privilege on both.
  4. Data location: confirm where data is processed and stored, especially PHI.
  5. Updates: on-prem you patch the agent; cloud the vendor does.
  6. Failure modes: a hybrid link, DNS, or certificate problem can break the automation even if both sides are healthy.
  7. Testing: test on-prem and cloud paths separately and together.

Where the work runs changes the permissions, network, and failure points you must plan for.

NIST SP 800-128 configuration management ↗ Microsoft Entra Connect — Microsoft Learn ↗ Change management — Atlassian ↗ Checked Jul 2026
ProcessEmergency change and rollback
  1. Declare it an emergency change and notify the approver.
  2. Record what you are doing and why, in real time.
  3. Take a backup or snapshot if time allows.
  4. Make the smallest change that restores service.
  5. Verify service and tell the stakeholders.
  6. Do the full change record and review afterward.

When something is down, act fast but keep a record. The review afterward is where the process improves.

Change management — Atlassian ↗ NIST SP 800-128 configuration management ↗ Incident management — Atlassian ↗ Checked Jul 2026
ProcessPost-change checklist
  1. Confirm the change works and nothing else broke.
  2. Check monitoring, logs, and scheduled jobs.
  3. Update documentation and runbooks.
  4. Close the change record with results and lessons.
  5. Tell users and stakeholders it is done.

Closing the loop keeps documentation and monitoring accurate.

Change management — Atlassian ↗ NIST SP 800-128 configuration management ↗ ITIL change enablement — Atlassian ↗ Checked Jul 2026
Common issue walkthrough

Rolling out a new automation

  1. Write the change request.
  2. Pilot in test with approval on every action.
  3. Review the audit log and widen in stages.
  4. Move proven low-risk tasks to zero-touch.

Moving an automation from on-prem to cloud

  1. List identity, network, and credential dependencies.
  2. Build and test the cloud version in parallel.
  3. Cut over in a window with a rollback plan.
  4. Verify, then retire the old one.
Exchange Online / Hybrid / Mail Flow
SafeConnect & routing baseline
Connect-ExchangeOnline -UserPrincipalName admin@tenant.com
Get-SendConnector | fl Name,SmartHosts,DNSRoutingEnabled
Get-HybridConfiguration | fl *

Connect-ExchangeOnline opens the session; Get-SendConnector and Get-HybridConfiguration confirm outbound routing and hybrid state.

Connect-ExchangeOnline — Microsoft Learn ↗ Mail flow best practices — Microsoft Learn ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
SafeConnectors, domains, transport rules
Get-InboundConnector | fl Name,Enabled,SenderDomains,RequireTls
Get-OutboundConnector | fl Name,Enabled,RecipientDomains,SmartHosts
Get-AcceptedDomain | ft Name,DomainName,DomainType,Default -Auto
Get-TransportRule | ft Name,State,Mode,Priority -Auto
Get-RemoteDomain | fl Name,DomainName,AutoReplyEnabled,TNEFEnabled

Connector, accepted-domain, transport-rule, and remote-domain settings determine how mail is routed and filtered.

Get-TransportRule — Microsoft Learn ↗ Mail flow best practices — Microsoft Learn ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
SafeMessage trace
Get-MessageTraceV2 -SenderAddress sender@domain.com -RecipientAddress user@domain.com `
  -StartDate (Get-Date).AddDays(-7) -EndDate (Get-Date)
Get-MessageTraceDetail -MessageTraceId <id> -RecipientAddress user@domain.com

Traces a specific message's delivery path and status (Delivered/Failed/Filtered) through Exchange Online in the last ~10 days.

Get-MessageTraceV2 — Microsoft Learn ↗ Mail flow best practices — Microsoft Learn ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
SafeOn-prem mailflow & queues
Test-Mailflow -TargetEmailAddress user@domain.com
Get-Queue | ft Identity,Status,MessageCount,NextHopDomain -Auto

On-prem Exchange equivalents: Test-Mailflow sends a synthetic test message, Get-Queue shows what's stuck in transport.

Get-Queue — Microsoft Learn ↗ Mail flow best practices — Microsoft Learn ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
Minor changeRestart transport service
Restart-Service MSExchangeTransport -Force

Only during approved maintenance or active outage.

Restarts the on-prem transport service — this drops in-flight mail processing, so only run it during a maintenance window or active outage.

Restart-Service — Microsoft Learn ↗ Mail flow best practices — Microsoft Learn ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
Minor changeOffice 365 mailbox not showing on-premises
Enable-MailUser -Identity "user@domain.com" -ExternalEmailAddress "user@domain.mail.onmicrosoft.com"
Enable-RemoteMailbox "user@domain.com"
# Exchange Online — grab the ExchangeGuid
Connect-ExchangeOnline
Get-Mailbox "user@domain.com" | ft Identity,ExchangeGuid
# back on-prem — set the matching GUID, then force a sync
Set-RemoteMailbox "user@domain.com" -ExchangeGuid "<guid-from-above>"
Start-ADSyncSyncCycle -PolicyType Delta

Happens when a mailbox was licensed/created directly in Microsoft 365 without ever running Enable-RemoteMailbox on-prem — the on-prem AD object was never mail-enabled to begin with.

Mail-enables the on-prem AD object, links it to the existing cloud mailbox, and syncs the ExchangeGuid so both sides agree on the same mailbox — the standard fix for a hybrid mailbox that's invisible in the on-prem EAC.

Office 365 mailbox not showing in Exchange Hybrid — ALI TAJRAN ↗ Mail flow best practices — Microsoft Learn ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
ProcessOn-prem Exchange vs Microsoft 365 — which admin portal
  1. On-prem mailbox: manage in the Exchange admin center at https://<server>/ecp and use OWA on the server URL.
  2. Cloud mailbox: manage in the Microsoft 365 / Exchange admin center and sign in via office.com.
  3. Check which one applies: Get-Mailbox in Exchange Online returns it only if it is a cloud mailbox.
  4. Hybrid: recipients live in one place; edit them in the portal that owns the mailbox.

Mixing up the two portals is a common cause of "I changed it but nothing happened".

Exchange hybrid deployments — Microsoft Learn ↗ Mail flow best practices — Microsoft Learn ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
ProcessAdd an external user to a distribution list
  1. In the Exchange admin center go to Recipients > Contacts > Add a mail contact.
  2. Enter name and the external email address.
  3. Open the distribution group > Members and add the contact.
  4. Test by sending to the list.

Distribution lists cannot contain raw external addresses; they need a mail contact.

Manage mail contacts — Microsoft Learn ↗ Mail flow best practices — Microsoft Learn ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
ProcessAdd a Gmail user to Microsoft 365 (Outlook)
  1. In Gmail enable IMAP (Settings > Forwarding and POP/IMAP).
  2. Turn on 2-step verification on the Google account.
  3. Create an app password in the Google account security settings.
  4. In Outlook add the account with the Gmail address and the app password (not the normal password).
  5. Revoke the app password when the mailbox no longer needs to be connected.

Google blocks normal-password sign-in from third-party mail clients; app passwords are the supported alternative.

Sign in with app passwords — Google ↗ Mail flow best practices — Microsoft Learn ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
ProcessData flow — Exchange hybrid mail flow
Hybrid mail flow: EOP in front, connectors between Exchange Online and on-prem ExchangeMicrosoft cloudOn-premisesMX recordfiltereddeliverconnectorsdeliverInternet senderExchange OnlineProtection (MX)Exchange OnlineCloud mailboxOn-prem ExchangeOn-prem mailbox
Internet sender↓ MX record → Exchange Online Protection (MX)
Exchange Online Protection (MX)↓ filtered → Exchange Online
Exchange Online↓ deliver → Cloud mailbox↔ connectors → On-prem Exchange
On-prem Exchange↓ deliver → On-prem mailbox
Cloud mailbox
On-prem mailbox
Hybrid mail flow: EOP in front, connectors between Exchange Online and on-prem Exchange
  1. Mail from the internet reaches Exchange Online Protection first (if the MX record points to Microsoft).
  2. Exchange Online delivers to cloud mailboxes, or routes to on-prem for mailboxes that still live there.
  3. The hybrid send and receive connectors carry mail between the two sides over TLS; the certificate must be valid and match.
  4. Check message trace in the Exchange admin center to see where a message stopped.
  5. Outbound mail from on-prem can route through Exchange Online if centralized mail transport is enabled.

Where messages travel in a hybrid setup and which parts to check first (MX, connectors, certificates, message trace).

Exchange hybrid — Microsoft Learn ↗ Mail flow in Exchange Online — Microsoft Learn ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

External mail bouncing or not delivering

  1. Confirm the domain accepts mail: Get-AcceptedDomain.
  2. Trace the specific message: Get-MessageTraceV2.
  3. Check for a transport rule silently redirecting or blocking it: Get-TransportRule.
  4. Verify the outbound connector/smart host: Get-SendConnector.
  5. If hybrid, confirm hybrid config is healthy: Get-HybridConfiguration.

Hybrid mail flow breaks after a change

  1. Review the full hybrid config: Get-HybridConfiguration | fl *.
  2. Check both connector directions: Get-InboundConnector / Get-OutboundConnector.
  3. Confirm the outbound public IP hasn't changed: nslookup myip.opendns.com resolver1.opendns.com.
  4. Re-run the Hybrid Configuration Wizard if connector settings look stale.
Mailboxes / Shared Mailboxes / Holds
SafeIdentity, size, and folder breakdown
Get-Mailbox user@domain.com | fl DisplayName,RecipientTypeDetails,PrimarySmtpAddress,ForwardingSmtpAddress
Get-MailboxStatistics shared@domain.com | fl DisplayName,TotalItemSize,ItemCount,LastLogonTime
Get-MailboxFolderStatistics shared@domain.com | sort FolderSize -Descending |
  select -First 20 Name,FolderPath,ItemsInFolder,FolderSize

Get-Mailbox and Get-MailboxStatistics are the standard starting points for any mailbox-identity or size/quota question.

Get-MailboxStatistics — Microsoft Learn ↗ Mailbox permissions overview — Microsoft Learn ↗ Litigation hold — Microsoft Learn ↗ Checked Jul 2026
SafePermissions & holds
Get-MailboxPermission shared@domain.com | ? {$_.IsInherited -eq $false} | ft User,AccessRights,Deny -Auto
Get-RecipientPermission shared@domain.com | ft Trustee,AccessRights,IsInherited -Auto
Get-Mailbox -SoftDeletedMailbox -Identity user@domain.com
Get-Mailbox user@domain.com | fl LitigationHoldEnabled,LitigationHoldDate,LitigationHoldOwner

FullAccess (MailboxPermission) and SendAs (RecipientPermission) are separate rights and commonly confused during access troubleshooting.

Get-MailboxPermission — Microsoft Learn ↗ Mailbox permissions overview — Microsoft Learn ↗ Litigation hold — Microsoft Learn ↗ Checked Jul 2026
Big changeEnable litigation hold
Set-Mailbox user@domain.com -LitigationHoldEnabled $true

Legal/compliance-impacting — get approval first.

Litigation hold preserves mailbox content for legal/compliance reasons — this is a compliance-impacting change and needs sign-off.

Set-Mailbox — Microsoft Learn ↗ Mailbox permissions overview — Microsoft Learn ↗ Litigation hold — Microsoft Learn ↗ Checked Jul 2026
Minor changeRetention & access grants
Set-Mailbox shared@domain.com -RetainDeletedItemsFor 7
Add-MailboxPermission shared@domain.com -User user@domain.com -AccessRights FullAccess -InheritanceType All
Add-RecipientPermission shared@domain.com -Trustee user@domain.com -AccessRights SendAs

FullAccess may auto-map depending on parameters; SendAs is separate from Send on Behalf.

Deleted-item retention and FullAccess/SendAs grants change what a user or delegate can see or recover.

Add-MailboxPermission — Microsoft Learn ↗ Mailbox permissions overview — Microsoft Learn ↗ Litigation hold — Microsoft Learn ↗ Checked Jul 2026
Minor changeMailbox folder permissions & calendar access
Install-Module ExchangeOnlineManagement
Connect-ExchangeOnline
Get-MailboxFolderPermission UserMailbox:\Calendar
Add-MailboxFolderPermission -Identity UserMailbox:\Calendar -User Delegate -AccessRights Editor
Set-MailboxFolderPermission -Identity UserMailbox:\Calendar -User Delegate -AccessRights Reviewer
Remove-MailboxFolderPermission -Identity UserMailbox:\Calendar -User Delegate

View, add, change, or remove access on any mailbox folder. Use Set- to change an existing entry and Add- for a new one.

Add-MailboxFolderPermission — Microsoft Learn ↗ Get-MailboxFolderPermission — Microsoft Learn ↗ Mailbox permissions overview — Microsoft Learn ↗ Litigation hold — Microsoft Learn ↗ Checked Jul 2026
ProcessFolder permission levels (what each one allows)
  1. Owner: full control including permissions.
  2. PublishingEditor: create, edit, delete all items and subfolders.
  3. Editor: create, edit, delete all items.
  4. PublishingAuthor: create items and subfolders; edit/delete own items.
  5. Author: create items; edit/delete own items.
  6. NonEditingAuthor: create items; read all; delete own items.
  7. Reviewer: read only.
  8. Contributor: create items only.
  9. AvailabilityOnly: free/busy only. LimitedDetails: free/busy plus subject and location.
  10. None: no access.

Reference for the -AccessRights values used with mailbox folder permission cmdlets.

Add-MailboxFolderPermission — Microsoft Learn ↗ Mailbox permissions overview — Microsoft Learn ↗ Litigation hold — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Shared mailbox full or bouncing

  1. Check size vs quota: Get-MailboxStatistics.
  2. Find what's consuming space: Get-MailboxFolderStatistics sorted by FolderSize.
  3. Confirm a hold isn't blocking cleanup: Get-Mailbox | fl LitigationHoldEnabled.
  4. Adjust retention or archive large folders once approved.

User can't send-as or open a shared mailbox

  1. Confirm FullAccess vs SendAs separately — they're not the same right.
  2. Grant the specific missing right: Add-MailboxPermission or Add-RecipientPermission.
  3. Have the user restart Outlook — Autodiscover can take up to an hour to pick up a new mailbox.
Network devices & Azure
SafeACLs, auth, and NSG review
show access-lists
show run | section access-list
show logging | include LOGIN_FAILED

az network nsg rule list -g <rg> --nsg-name <nsg> -o table
az security alert list -o table

NSG rules and Defender for Cloud alerts are the Azure-side equivalent of an ACL/security-event review on network gear.

az network nsg rule — Microsoft Learn ↗ az security alert — Microsoft Learn ↗ Cisco IOS security command reference — Cisco ↗ Checked Jul 2026
ProcessData flow — hybrid connectivity: on-prem to Azure
Hybrid connectivity: site-to-site VPN or ExpressRoute into an Azure hub VNet and spoke VNetsOn-premisesAzureLAN trafficencryptedprivatetunnelcircuitpeeringpeeringOn-prem LANEdge firewall /routerSite-to-site VPN(IPsec, internet)ExpressRoute(private circuit)Hub VNetgatewaySpoke VNetapps / VMsSpoke VNetdatabases
On-prem LAN↓ LAN traffic → Edge firewall / router
Edge firewall / router↓ encrypted → Site-to-site VPN (IPsec, internet)↓ private → ExpressRoute (private circuit)
Site-to-site VPN (IPsec, internet)↓ tunnel → Hub VNet gateway
ExpressRoute (private circuit)↓ circuit → Hub VNet gateway
Hub VNet gateway↓ peering → Spoke VNet apps / VMs↓ peering → Spoke VNet databases
Spoke VNet apps / VMs
Spoke VNet databases
Hybrid connectivity: site-to-site VPN or ExpressRoute into an Azure hub VNet and spoke VNets
  1. On-prem traffic for Azure ranges goes to the edge firewall or router.
  2. It crosses either an IPsec site-to-site VPN over the internet or a private ExpressRoute circuit.
  3. The Azure gateway in the hub VNet receives it and routes to spoke VNets through peering.
  4. Both sides need matching address ranges with no overlap, plus routes and firewall rules in both directions.
  5. If a tunnel is up but traffic fails, check routes (UDRs), NSGs, and the on-prem firewall rules.

The main paths between a local network and Azure, and what must line up on both sides.

Hybrid network reference architectures — Microsoft Learn ↗ VPN Gateway — Microsoft Learn ↗ ExpressRoute — Microsoft Learn ↗ Checked Jul 2026
ProcessData flow — Azure hub-and-spoke with firewall
Hub-and-spoke: shared firewall and gateway in the hub, workloads in spokesHub VNetinboundpeeringhybrid linkpeeringroutesvia firewall (UDR)Internet usersAzure Firewall(hub)Spoke Aweb tierOn-prem viaVPN / ExpressRouteHub gatewaySpoke Bapp / database
Internet users↓ inbound → Azure Firewall (hub)
On-prem via VPN / ExpressRoute↓ hybrid link → Hub gateway
Azure Firewall (hub)↓ peering → Spoke A web tier↔ routes → Hub gateway
Hub gateway↓ peering → Spoke B app / database
Spoke A web tier↓ via firewall (UDR) → Spoke B app / database
Spoke B app / database
Hub-and-spoke: shared firewall and gateway in the hub, workloads in spokes
  1. Shared services (firewall, gateway, DNS) live in the hub VNet.
  2. Workloads live in spoke VNets that peer to the hub.
  3. User-defined routes send spoke-to-spoke and internet traffic through the firewall.
  4. NSGs add subnet-level allow and deny rules inside each spoke.
  5. Add one spoke per workload or environment so changes stay contained.

The standard Azure network layout. Central inspection and one hybrid link serve many workloads.

Hub-spoke topology — Microsoft Learn ↗ Azure Firewall — Microsoft Learn ↗ Network security groups — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Traffic unexpectedly blocked

  1. Check the device ACL: show access-lists or show run | section access-list.
  2. Check for recent login/config-failure events.
  3. On Azure, check the NSG rule set: az network nsg rule list.
  4. Adjust the specific rule after confirming intended traffic.
Windows Identity / Azure AD Join / Profile
SafeJoin state & profile inventory
dsregcmd /status
Get-ComputerInfo | select CsManufacturer,CsModel,OsName,OsVersion,WindowsProductName
Get-CimInstance Win32_UserProfile | select LocalPath,SID,Loaded,Special
reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI"

dsregcmd is key for Outlook/M365 auth issues; the LogonUI key shows the last logged-on user.

dsregcmd /status is the first command for any Entra/Azure AD join or SSO problem — it reports join state, PRT status, and SSO health.

Troubleshoot devices with dsregcmd — Microsoft Learn ↗ Primary Refresh Token overview — Microsoft Learn ↗ Troubleshoot user profile issues — Microsoft Learn ↗ Checked Jul 2026
Big changeRemove a stale/corrupt local profile
Get-CimInstance Win32_UserProfile | ? LocalPath -like "*\username" | Remove-CimInstance

Back up data first.

Removing a Win32_UserProfile object deletes the local profile — back up any local-only data first, this cannot be undone from PowerShell.

Remove-CimInstance — Microsoft Learn ↗ Troubleshoot devices with dsregcmd — Microsoft Learn ↗ Primary Refresh Token overview — Microsoft Learn ↗ Checked Jul 2026
SafeFind a user SID
whoami /user

Shows the SID of the current user. Use the SID to match the correct key under ProfileList.

whoami — Microsoft Learn ↗ Troubleshoot devices with dsregcmd — Microsoft Learn ↗ Primary Refresh Token overview — Microsoft Learn ↗ Checked Jul 2026
ProcessFix a temporary profile ("TEMP" folder)
  1. Run whoami /user while signed in to note the SID; the profile is C:\Users\TEMP.
  2. Create or use a local admin account and sign out the affected user. Reboot to release locks.
  3. Sign in as the admin, then rename the user's folder in C:\Users to add .old (or delete it if no data is needed).
  4. Open regedit and go to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.
  5. Delete the key for the user's SID (including any ending in .bak).
  6. Have the user sign in to recreate the profile; copy data back from the .old folder.

Back up the old folder first. Deleting the wrong registry key can break other profiles.

A temporary profile appears when Windows cannot load the real one, often after a stale ProfileList registry entry.

whoami — Microsoft Learn ↗ Troubleshoot devices with dsregcmd — Microsoft Learn ↗ Primary Refresh Token overview — Microsoft Learn ↗ Checked Jul 2026
Big changeDelete a user profile (command line)
net user [username] /delete
rmdir /s /q C:\Users\[username]

Permanent — the user's files are deleted.

Removes the local account and its profile folder. Domain accounts use the profile removal methods above instead.

net user — Microsoft Learn ↗ Troubleshoot devices with dsregcmd — Microsoft Learn ↗ Primary Refresh Token overview — Microsoft Learn ↗ Checked Jul 2026
SafeUser profile location (ProfileList)
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" /s
# PowerShell: SID -> profile folder
Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\*" | Select PSChildName,ProfileImagePath
# Path of the current user's profile
echo %USERPROFILE%

Each user SID has a key under ProfileList with a ProfileImagePath value pointing to the profile folder. Keys ending in .bak point to a profile Windows could not load.

Registry Editor ProfileList key — Microsoft Learn ↗ Troubleshoot devices with dsregcmd — Microsoft Learn ↗ Primary Refresh Token overview — Microsoft Learn ↗ Checked Jul 2026
ProcessData flow — hybrid identity sync (AD to Entra ID)
Hybrid identity: on-prem AD synchronized to Entra IDOn-premisesMicrosoft cloudLDAP readsync ~30 minlicensespasswordssign inOn-prem AD DSEntra ConnectSync serverEntra IDMicrosoft 365and appsSign-in methodPHS / PTA / AD FSUser signs in
On-prem AD DS↓ LDAP read → Entra Connect Sync server
Entra Connect Sync server↓ sync ~30 min → Entra ID↓ passwords → Sign-in method PHS / PTA / AD FS
Sign-in method PHS / PTA / AD FS
Entra ID↓ licenses → Microsoft 365 and apps
Microsoft 365 and apps
User signs in↓ sign in → Entra ID
Hybrid identity: on-prem AD synchronized to Entra ID
  1. Users, groups, and attributes live in on-prem AD; the sync server reads them and writes matching objects to Entra ID.
  2. The sync scheduler runs about every 30 minutes (delta sync). Force one with Import-Module ADSync then Start-ADSyncSyncCycle -PolicyType Delta.
  3. Sign-in is checked by password hash sync (hash copy), pass-through authentication (agent asks AD), or AD FS (federation).
  4. If a change is missing in the cloud, check the sync server for errors before changing the user.
  5. Only change synced attributes in on-prem AD; cloud edits to synced fields are overwritten.

How identity moves from on-prem Active Directory to Microsoft Entra ID, and where to look when a user or password change does not appear.

Entra Connect Sync — Microsoft Learn ↗ Entra Connect sync scheduler — Microsoft Learn ↗ Password hash sync — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Device shows not joined / SSO failing

  1. Run dsregcmd /status and check AzureAdJoined, DomainJoined, and AzureAdPrt.
  2. If not joined, re-trigger with dsregcmd /leave then /join, then restart.
  3. Confirm network reachability to login.microsoftonline.com.
  4. Re-check dsregcmd /status for AzureAdPrt: YES after sign-in.

Corrupt profile — "temporary profile" message

  1. Confirm the affected profile object: Get-CimInstance Win32_UserProfile.
  2. Back up user data from the corrupt profile path.
  3. Remove the broken profile object: Remove-CimInstance.
  4. Have the user log back in to generate a fresh profile.
05 CloudMicrosoft 365, Entra, Graph, Intune, OneDrive, Office, licensing, and mail rules
Calendar / Meeting Processing
SafeRoom/resource behavior
Get-CalendarProcessing room@domain.com | fl AutomateProcessing,AllowConflicts,BookingWindowInDays,MaximumDurationInMinutes
Get-MailboxCalendarFolder user@domain.com:\Calendar | fl *
Get-MailboxFolderPermission user@domain.com:\Calendar

Shows how a resource mailbox (room/equipment) auto-accepts or conflicts with bookings, and who has calendar delegate access.

Get-CalendarProcessing — Microsoft Learn ↗ Resource mailboxes — Microsoft Learn ↗ Room and equipment mailboxes — Microsoft Learn ↗ Checked Jul 2026
Minor changeChange booking / calendar permissions
Set-CalendarProcessing room@domain.com -AutomateProcessing AutoAccept -AllowConflicts $false
Add-MailboxFolderPermission user@domain.com:\Calendar -User other@domain.com -AccessRights Reviewer
Set-MailboxFolderPermission user@domain.com:\Calendar -User other@domain.com -AccessRights Editor

Use Set- (not Add-) if the permission already exists.

Changes user-facing booking behavior or calendar-sharing permissions — use Set- rather than Add- if a permission entry already exists.

Set-CalendarProcessing — Microsoft Learn ↗ Resource mailboxes — Microsoft Learn ↗ Room and equipment mailboxes — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Room booking always declines or double-books

  1. Review current behavior: Get-CalendarProcessing.
  2. Set auto-accept if that's the intended behavior: Set-CalendarProcessing -AutomateProcessing AutoAccept.
  3. Check AllowConflicts and BookingWindowInDays match policy.
  4. Test-book a meeting to confirm it now auto-accepts.

User can't see or edit a shared calendar

  1. Check the existing permission: Get-MailboxFolderPermission user:\Calendar.
  2. Add or update the right level with Add- or Set-MailboxFolderPermission.
  3. Have the user reopen Outlook or re-add the shared calendar.
macOS Management (Intune & Apple Business Manager)
ProcessmacOSSet up Apple Business Manager & connect it to Intune
  1. Apply for an Apple Business Manager account at business.apple.com — you'll need a D-U-N-S number and a non-IT contact to vouch for the org. Budget several days for approval (D-U-N-S lookup/verification can take up to 5 business days).
  2. In Intune: Devices > Enrollment > Apple > Enrollment Program Tokens, create an MDM push certificate first, then download the public key (.pem) for the ADE token.
  3. In Apple Business Manager: your name > Preferences > add an MDM Server, upload the .pem, download the resulting MDM Server Token (.p7m).
  4. Back in Intune, upload the token with your Apple ID to finish linking Apple Business Manager to Intune.
  5. Optional: apply for a VPP token (Apps and Books > your tax status) to sync purchased apps/books, and set a default device assignment for new devices.

Start the D-U-N-S/Apple Business Manager application early if you have a deadline — the admin-side verification is the part you can't control or speed up.

Apple Business Manager itself isn't an MDM — it's the portal that lets Apple devices, apps, and organization-owned Apple IDs sync into whatever MDM (here, Intune) you actually manage them with. Only devices added through it are "supervised," which unlocks additional Intune configuration options.

Manage macOS with Intune & Apple Business Manager — IntuneStuff ↗ macOS enrollment — Microsoft Learn ↗ Automated device enrollment for macOS — Microsoft Learn ↗ Checked Jul 2026
ProcessmacOS 13+Add a Mac to Apple Business Manager (Apple Configurator)
  1. Install the Apple Configurator app on an iPhone and sign in with the Apple Business Manager Apple ID.
  2. In network configuration, select your MDM server, then factory-reset the target Mac (Apple silicon or T2 chip, macOS 12.0.1+).
  3. On the Mac's setup screen, hold the iPhone close and scan the "Assign this Mac to your Organization" prompt (or pair manually with the 6-digit code).
  4. In Intune, create an enrollment profile (Devices > Enrollment > Apple > your token > Profiles > Create > macOS).
  5. Sync the token's Devices tab in Intune so the newly added Mac shows up, then assign it to the enrollment profile and save.

If the device is handed to a user before assignment, there's a 30-day provisional window during which they could remove it from supervision/MDM if it isn't yet enrolled with a linked MDM server.

This is the standard way to add a Mac to Apple Business Manager after the fact — useful when a device wasn't purchased through Apple or an authorized reseller (which would normally add it automatically).

Manage macOS with Intune & Apple Business Manager — IntuneStuff ↗ macOS enrollment — Microsoft Learn ↗ Automated device enrollment for macOS — Microsoft Learn ↗ Checked Jul 2026
ProcessmacOS 13+Configure Platform SSO
  1. In Intune: Devices > macOS > Configuration profiles > Create > Settings Catalog > Authentication > Extensible Single Sign On (SSO).
  2. Choose an authentication method: Secure Enclave Key (most secure, hardware-bound, no password sync) or Password (syncs the Entra ID password to the local account — simpler UX).
  3. Set the required keys: Extension Identifier, Team Identifier, Registration Token, Account Display Name, Screen Locked Behavior, and the IdP URLs (login.microsoftonline.com, login.microsoft.com, sts.windows.net — add the sovereign-cloud variants only if needed).
  4. Disable per-user (legacy) MFA for any user going through this setup — it breaks password sync during registration.
  5. Assign the profile to a device or user group, then install the Company Portal app as a macOS LOB app so users can complete registration.

Scope password-setting policies to device groups and compliance policies (with no password settings) to user groups — mixing them onto the same group has been reported to silently break Platform SSO registration.

Platform SSO replaces AD-style directory binding on macOS — it lets the same Entra ID credential unlock the Mac and provide SSO to Entra-backed apps and sites, without a JavaScript-based web login flow.

Configure Platform SSO for macOS — Microsoft Learn ↗ macOS enrollment — Microsoft Learn ↗ Automated device enrollment for macOS — Microsoft Learn ↗ Checked Jul 2026
ProcessmacOSEnroll macOS in Microsoft Defender
  1. In Intune: Endpoint security > Microsoft Defender for Endpoint > enable "Allow Microsoft Defender for Endpoint to enforce Endpoint Security Configurations," then confirm the connection is enabled from the Defender portal side too (Settings > Endpoints > Advanced features > Microsoft Intune connection).
  2. Create the required macOS configuration profiles (Settings Catalog or Templates > Custom, using Microsoft's provided .mobileconfig files): System Extensions, Network Filter, Full Disk Access, Background Services, Notifications, Bluetooth Permissions, and Microsoft AutoUpdate.
  3. Create an Endpoint Detection and Response policy and a Microsoft Defender Antivirus policy under Endpoint Security, and assign all profiles to your macOS device/user group.
  4. Deploy the Defender for Endpoint app and the onboarding package (from Microsoft 365 Defender > Settings > Endpoints > Onboarding, OS = macOS, method = Intune) as Intune apps/profiles.
  5. On the device, confirm enrollment through Company Portal, then verify the Defender icon appears and the device shows up under Assets > Devices in the Defender portal.

The kernel/system-extension settings template was deprecated in April 2025 — new deployments should configure System Extensions directly through the Settings Catalog instead.

Each of the six-plus configuration profiles grants one specific macOS privacy permission (System Extensions, Full Disk Access, Background Services, etc.) that Defender's daemon needs — missing any one of them typically shows up as Defender running but reporting incomplete protection.

Intune-based deployment for Defender on macOS — Microsoft Learn ↗ macOS enrollment — Microsoft Learn ↗ Automated device enrollment for macOS — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

A Mac will not enroll

  1. Confirm the Mac is assigned in Apple Business Manager and the Intune token is valid.
  2. Check the enrollment profile is assigned.
  3. Erase and restart Setup Assistant if needed.

Policy or app not arriving

  1. Check the device is checking in (Intune device page).
  2. Force a sync.
  3. Check assignments and group membership.
Mail Rules & License Automation
SafeReview a mailbox's inbox rules
Get-InboxRule -Mailbox user@domain.com | ft Name,Enabled,ForwardTo,DeleteMessage -Auto
# pull the full description/conditions for one specific rule
Get-InboxRule -Mailbox "user@domain.com" -Identity "RuleName" | select -ExpandProperty description | fl

A rule that silently forwards or deletes mail is a common sign of a compromised mailbox — check this early in any "missing email" ticket. The -Identity/description variant is the fastest way to see a rule's exact conditions when the summary table view isn't detailed enough.

Lists every inbox rule on a mailbox, including auto-forward and auto-delete rules that don't show up in the user's own view if hidden.

Get-InboxRule — Microsoft Learn ↗ Remove-InboxRule — Microsoft Learn ↗ Set-MgUserLicense — Microsoft Learn ↗ Checked Jul 2026
Big changeRemove a malicious rule
Remove-InboxRule -Mailbox user@domain.com -Identity "RuleName"

Screenshot/export the rule details before removing — this is usually part of a BEC or phishing incident response, so preserve evidence first.

Deletes a specific inbox rule — pair with the incident-response steps below when the rule was attacker-created.

Remove-InboxRule — Microsoft Learn ↗ Get-InboxRule — Microsoft Learn ↗ Set-MgUserLicense — Microsoft Learn ↗ Checked Jul 2026
SafeExport distribution group membership to CSV
$Groups = Get-DistributionGroup
$Groups | ForEach-Object {
  $group = $_.Name
  Get-DistributionGroupMember $group | ForEach-Object {
    New-Object -TypeName PSObject -Property @{
      GroupName    = $group
      Members      = $_.Name
      EmailAddress = $_.PrimarySMTPAddress
    }
  }
} | Export-CSV "C:\DistributionGroupMember.csv" -NoTypeInformation -Encoding UTF8

Useful for a full membership audit across every distribution group in one pass, rather than checking groups one at a time.

Produces a flat, sortable CSV of every group and its members — handy for access reviews, offboarding audits, or just documenting what a group actually contains before making changes to it.

Get-DistributionGroupMember — Microsoft Learn ↗ Get-InboxRule — Microsoft Learn ↗ Remove-InboxRule — Microsoft Learn ↗ Checked Jul 2026
SafeGroup-based licensing status
Get-MgGroup -GroupId <groupId> -Property DisplayName,AssignedLicenses,LicenseProcessingState | fl

LicenseProcessingState shows whether Entra is still working through a large group's license assignments — large groups can take time to process.

Confirms whether automatic group-based licensing has finished applying, and which SKUs are attached to the group.

Get-MgGroup — Microsoft Learn ↗ Get-InboxRule — Microsoft Learn ↗ Remove-InboxRule — Microsoft Learn ↗ Checked Jul 2026
Minor changeAssign / remove a license directly
Set-MgUserLicense -UserId user@domain.com -AddLicenses @{SkuId="<skuId>"} -RemoveLicenses @()

Prefer group-based licensing where possible — direct assignment is easy to lose track of during offboarding.

Adds or removes a specific license SKU on a single user — useful for one-off exceptions outside group-based licensing.

Set-MgUserLicense — Microsoft Learn ↗ Get-InboxRule — Microsoft Learn ↗ Remove-InboxRule — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Missing or redirected email — suspected BEC

  1. Check inbox rules: Get-InboxRule.
  2. If a malicious rule is found, preserve evidence (export details) before removing it.
  3. Cross-reference sign-in logs and the Unified Audit Log for the same window (see Incident Response).
  4. Reset credentials and review MFA methods as part of full containment.

New hire missing licenses or apps

  1. Confirm group membership feeding group-based licensing.
  2. Check license processing state on the group.
  3. If stuck, assign the license directly as a stopgap: Set-MgUserLicense.
  4. Confirm apps appear after the next Entra sync cycle.
Microsoft 365 / Entra / Graph / Licensing
SafeConnect & look up users/groups
Connect-MgGraph -Scopes User.Read.All,Group.Read.All,Directory.Read.All
Get-MgUser -UserId user@domain.com -Property Id,DisplayName,UserPrincipalName,AccountEnabled | fl
Get-MgGroup -Filter "startswith(displayName,'GroupName')" -All
Get-MgGroupMember -GroupId <groupId> -All

Connect-MgGraph is the modern replacement for the retiring AzureAD/MSOnline modules for user and group lookups in Entra ID.

Connect-MgGraph — Microsoft Learn ↗ Group-based licensing — Microsoft Learn ↗ Review app consent requests — Microsoft Learn ↗ Checked Jul 2026
Minor changeGroup membership changes (Entra/Graph)
New-MgGroupMember -GroupId <groupId> -DirectoryObjectId <userId>
Remove-MgGroupMemberByRef -GroupId <groupId> -DirectoryObjectId <userId>

Affects access/apps if the group controls them — confirm the correct group first.

Adding or removing a user from an Entra group can change application access if the group drives licensing or app assignment — confirm the target group first.

New-MgGroupMember — Microsoft Learn ↗ Group-based licensing — Microsoft Learn ↗ Review app consent requests — Microsoft Learn ↗ Checked Jul 2026
SafeLicensing & enterprise apps
Get-MgSubscribedSku | select SkuPartNumber,ConsumedUnits -ExpandProperty PrepaidUnits
Get-MgUserLicenseDetail -UserId user@domain.com | select SkuPartNumber
Get-MgServicePrincipal -Filter "startswith(displayName,'AppName')" -All
Get-MgOauth2PermissionGrant -All | ? {$_.ClientId -eq "<servicePrincipalId>"}

OAuth consent review is security-sensitive.

SKU and license-detail cmdlets show what's assigned before you troubleshoot an app-access issue tied to licensing.

Get-MgSubscribedSku — Microsoft Learn ↗ Group-based licensing — Microsoft Learn ↗ Review app consent requests — Microsoft Learn ↗ Checked Jul 2026
ProcessData flow — sign-in with Conditional Access and MFA
Sign-in flow: Entra ID evaluates Conditional Access, asks for MFA, then issues a tokenopensredirectevaluategrant controlsuccessaccess tokenUserApp or browserEntra IDConditional AccesspoliciesMFA / passkeyToken issuedResource(M365, app)
User↓ opens → App or browser
App or browser↓ redirect → Entra ID
Resource (M365, app)
Entra ID↓ evaluate → Conditional Access policies
Token issued↓ access token → Resource (M365, app)
Conditional Access policies↓ grant control → MFA / passkey
MFA / passkey↓ success → Token issued
Sign-in flow: Entra ID evaluates Conditional Access, asks for MFA, then issues a token
  1. The app sends the user to Entra ID to sign in.
  2. Entra ID checks the account, then evaluates Conditional Access: user, app, device state, location, and sign-in risk.
  3. If the policy requires it, the user completes MFA or a passkey.
  4. Entra ID issues a token; the app uses it to open the resource.
  5. Check Entra sign-in logs: the Conditional Access tab shows which policy applied and why it passed or failed.

The path every cloud sign-in follows. Most "cannot sign in" tickets are decided at the Conditional Access step.

Conditional Access — Microsoft Learn ↗ Entra MFA — Microsoft Learn ↗ Sign-in logs — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

User missing an app because a license didn't apply

  1. Check assigned licenses: Get-MgUserLicenseDetail.
  2. Check group-based licensing state: Get-MgGroup -Property LicenseProcessingState.
  3. Confirm the SKU has available seats: Get-MgSubscribedSku.
  4. Remove-and-reassign the license to force reprocessing if it's stuck.

Unknown app requesting consent

  1. Identify the app: Get-MgServicePrincipal -Filter "startswith(displayName,'...')".
  2. Review what it was granted: Get-MgOauth2PermissionGrant.
  3. Revoke consent from the Entra admin center if illegitimate, and log it as a security event.
Microsoft Intune / Endpoint Manager
SafeDevice inventory & compliance state
Get-MgDeviceManagementManagedDevice | select DeviceName,ComplianceState,OSVersion,LastSyncDateTime

ComplianceState of "noncompliant" is the fastest lead when a device is blocked from Conditional Access.

The baseline inventory command for any Intune-managed device — confirms enrollment, OS version, and last check-in at a glance.

Get-MgDeviceManagementManagedDevice — Microsoft Learn ↗ Monitor device compliance — Microsoft Learn ↗ Sync a device in Intune — Microsoft Learn ↗ Checked Jul 2026
SafeCheck compliance policy status for a device
Get-MgDeviceManagementManagedDeviceCompliancePolicyState -ManagedDeviceId <id>

Shows exactly which policy is failing (encryption, passcode, OS version, etc.) rather than just the overall pass/fail flag.

Breaks a "noncompliant" status down into the specific setting that's failing, so you're not guessing which policy to fix.

Monitor device compliance — Microsoft Learn ↗ Sync a device in Intune — Microsoft Learn ↗ Get-MgInformationProtectionBitlockerRecoveryKey — Microsoft Learn ↗ Checked Jul 2026
Minor changeForce a remote sync
Sync-MgDeviceManagementManagedDevice -ManagedDeviceId <id>

Pushes the device to check in immediately instead of waiting for its normal 8-hour sync cycle — the standard first step after a policy change.

Speeds up applying a newly assigned policy or app without waiting for the device's scheduled check-in window.

Sync a device in Intune — Microsoft Learn ↗ Monitor device compliance — Microsoft Learn ↗ Get-MgInformationProtectionBitlockerRecoveryKey — Microsoft Learn ↗ Checked Jul 2026
Big changeRetire or wipe a device
Invoke-MgRetireDeviceManagementManagedDevice -ManagedDeviceId <id>
# full factory reset — confirm this is really intended
Invoke-MgWipeDeviceManagementManagedDevice -ManagedDeviceId <id>

Retire removes company data and management but leaves the device otherwise usable; Wipe is a full factory reset. Confirm which one before running.

The standard offboarding/lost-device actions — Retire for a departing employee's personal device, Wipe for a lost or compromised company device.

Wipe devices — Microsoft Learn ↗ Monitor device compliance — Microsoft Learn ↗ Sync a device in Intune — Microsoft Learn ↗ Checked Jul 2026
SafeReview assigned configuration profiles
Get-MgDeviceManagementDeviceConfiguration | select DisplayName,Id

Cross-reference against the device's compliance policy state to spot a conflicting or missing profile assignment.

Lists every configuration profile in the tenant — useful for confirming a device is actually targeted by the profile you expect.

Get-MgDeviceManagementDeviceConfiguration — Microsoft Learn ↗ Monitor device compliance — Microsoft Learn ↗ Sync a device in Intune — Microsoft Learn ↗ Checked Jul 2026
Big changeRemote lock a lost or stolen device
Lock-MgDeviceManagementManagedDeviceRemote -ManagedDeviceId <id>

Locks the device at the OS level immediately — the fastest containment step you can take before a full Retire or Wipe.

Buys time on a lost or stolen device without committing to a full wipe — useful when you're not yet certain the device won't be recovered.

Remote lock a device — Microsoft Learn ↗ Monitor device compliance — Microsoft Learn ↗ Sync a device in Intune — Microsoft Learn ↗ Checked Jul 2026
SafeRetrieve a BitLocker recovery key
$deviceId = (Get-MgDevice -Filter "displayName eq '<computername>'").DeviceId
$keyIds = (Get-MgInformationProtectionBitlockerRecoveryKey -Filter "deviceId eq '$deviceId'").Id
Get-MgInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $keyIds -Property key

Pulling the actual key value (not just the key ID) requires the -Property key parameter and generates an Entra audit log entry — that's expected and by design.

The standard recovery path when a user is stuck at the BitLocker recovery screen and can't reach their key through the self-service portal.

Get-MgInformationProtectionBitlockerRecoveryKey — Microsoft Learn ↗ Monitor device compliance — Microsoft Learn ↗ Sync a device in Intune — Microsoft Learn ↗ Checked Jul 2026
SafeCheck Autopilot enrollment status
Get-MgDeviceManagementWindowsAutopilotDeviceIdentity | select SerialNumber,EnrollmentState,GroupTag

EnrollmentState stuck on "notContacted" usually means the device hasn't reached the Autopilot service yet — check network connectivity during OOBE first.

Confirms whether a device is actually registered for Autopilot and what profile/group tag it will pick up before it ships to the end user.

Get-MgDeviceManagementWindowsAutopilotDeviceIdentity — Microsoft Learn ↗ Monitor device compliance — Microsoft Learn ↗ Sync a device in Intune — Microsoft Learn ↗ Checked Jul 2026
ProcessData flow — Windows Autopilot and Intune enrollment
Autopilot: device registers, joins Entra ID, enrolls in Intune, gets policies and appschecks inprofileauto-enrollassigninstalledNew devicepowers onAutopilot service(hardware hash)Entra joinand sign-inIntune MDMPolicies andapps (ESP)Ready desktop
New device powers on↓ checks in → Autopilot service (hardware hash)
Autopilot service (hardware hash)↓ profile → Entra join and sign-in
Entra join and sign-in↓ auto-enroll → Intune MDM
Ready desktop
Intune MDM↓ assign → Policies and apps (ESP)
Policies and apps (ESP)↓ installed → Ready desktop
Autopilot: device registers, joins Entra ID, enrolls in Intune, gets policies and apps
  1. The device hardware hash is registered with Autopilot (by the vendor or an admin).
  2. At first boot the device contacts Autopilot and gets its deployment profile.
  3. The user signs in; the device joins Entra ID and enrolls in Intune.
  4. The Enrollment Status Page waits while required policies and apps install.
  5. If it stalls, check the ESP screen, the device's Intune status, and the app install errors.

The new-device path from box to ready desktop, and where Autopilot problems usually appear.

Windows Autopilot — Microsoft Learn ↗ Intune enrollment — Microsoft Learn ↗ Troubleshoot Autopilot — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Device shows noncompliant / blocked from Conditional Access

  1. Check the device's ComplianceState and identify which specific policy is failing.
  2. Force a sync to push the fix immediately instead of waiting for the next check-in.
  3. Confirm the correct configuration profile is actually assigned to the device.
  4. If it's a lost or compromised device instead, use Retire or Wipe as appropriate.

User stuck at the BitLocker recovery screen

  1. Confirm the device is Intune/Entra-managed — self-managed local BitLocker keys aren't stored in the tenant.
  2. Look up the device's DeviceId, then its recovery key ID.
  3. Pull the actual key value with the -Property key parameter.
  4. Read the key to the user, or have them enter it locally if you're remote.
Office / Outlook
SafeService & profile checks
Get-Service ClickToRunSvc
Get-ChildItem "HKCU:\Software\Microsoft\Office\16.0\Outlook\Profiles" -ErrorAction SilentlyContinue
Get-AppxPackage Microsoft.AAD.BrokerPlugin
Get-Process Outlook -ErrorAction SilentlyContinue

ClickToRunSvc state and the AAD broker package are the two most common root causes of Office/Outlook sign-in loops.

Get-AppxPackage — Microsoft Learn ↗ Repair Office — Microsoft Learn ↗ Add-AppxPackage — Microsoft Learn ↗ Checked Jul 2026
Minor changeRepair
appwiz.cpl   # launch Office repair UI

Get-AppxPackage Microsoft.AAD.BrokerPlugin | % {
  Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"
}

Restart Outlook after re-registering the AAD broker.

appwiz.cpl opens the Programs and Features repair dialog; re-registering the AAD broker fixes modern-auth sign-in loops in Office apps.

Add-AppxPackage — Microsoft Learn ↗ Repair Office — Microsoft Learn ↗ Get-AppxPackage — Microsoft Learn ↗ Checked Jul 2026
ProcessExcel "Not enough memory" opening attachments
  1. In Excel go to File > Options > Trust Center > Trust Center Settings.
  2. Select Protected View.
  3. Uncheck Enable Protected View for Outlook attachments.
  4. OK out and reopen the attachment.
  5. Re-enable it afterwards if the user does not need it off.

Protected View can cause memory errors when opening attachments straight from Outlook. Turning it off lowers protection, so re-enable if possible.

What is Protected View — Microsoft Support ↗ Repair Office — Microsoft Learn ↗ Get-AppxPackage — Microsoft Learn ↗ Checked Jul 2026
Minor changeOutlook will not close (background process)
# End the stuck process
taskkill /IM outlook.exe /F
# IMAP accounts: let Outlook log out without waiting
reg add "HKCU\SOFTWARE\Microsoft\Office\16.0\Outlook\IMAP" /v AllowLOGOUTWithoutOK /t REG_DWORD /d 1 /f

Outlook sometimes stays running after closing. End it in Task Manager; for IMAP accounts the registry value lets it close without waiting for the server.

Outlook troubleshooting — Microsoft Learn ↗ Repair Office — Microsoft Learn ↗ Get-AppxPackage — Microsoft Learn ↗ Checked Jul 2026
Minor changeEnable Modern Authentication
# Office 2013
reg add "HKCU\SOFTWARE\Microsoft\Office\15.0\Common\Identity" /v EnableADAL /t REG_DWORD /d 1 /f
reg add "HKCU\SOFTWARE\Microsoft\Office\15.0\Common\Identity" /v Version /t REG_DWORD /d 1 /f
# Office 2016
reg add "HKCU\Software\Microsoft\Exchange" /v AlwaysUseMSOAuthForAutoDiscover /t REG_DWORD /d 1 /f

Forces Outlook to use modern (OAuth) sign-in. Restart Outlook after applying.

Enable modern authentication — Microsoft Learn ↗ Repair Office — Microsoft Learn ↗ Get-AppxPackage — Microsoft Learn ↗ Checked Jul 2026
ProcessInstall new Teams on VDI / WVD
  1. Download the Teams bootstrapper .exe and the MSIX for the right architecture (x86, x64, ARM64) from the Microsoft VDI page.
  2. Open Command Prompt as administrator.
  3. Run teamsbootstrapper.exe -p -o "c:\path\to\teams.msix".
  4. Sign in to Teams and confirm optimization/redirection works in the session.

New Teams on VDI uses a bootstrapper that provisions the MSIX package for all users on the host.

New Teams VDI requirements — Microsoft Learn ↗ Teams bootstrapper download ↗ Repair Office — Microsoft Learn ↗ Get-AppxPackage — Microsoft Learn ↗ Checked Jul 2026
SafeForce classic Teams to open
cd %LOCALAPPDATA%\Microsoft\Teams\current
Teams.exe

Classic Teams is being retired — use only if still installed.

Launches the classic Teams client directly from its install folder when the shortcut does nothing.

Teams troubleshooting — Microsoft Learn ↗ Repair Office — Microsoft Learn ↗ Get-AppxPackage — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Outlook keeps prompting for credentials

  1. Check ClickToRunSvc is running.
  2. Check the AAD broker package state.
  3. Re-register the AAD broker package for the user.
  4. Fully close and reopen Outlook — check Task Manager for lingering processes first.

Office apps won't open or crash on launch

  1. Confirm no other Office process is hung.
  2. Run a Quick Repair via appwiz.cpl first, then Online Repair if that fails.
  3. Check the Application event log for the specific crashing module.
  4. Recreate the Outlook profile as a last resort if it's profile-specific.
OneDrive / Sync
SafeVerify account & mount point
Get-CimInstance Win32_Process -Filter "name='OneDrive.exe'" | select ProcessId,CommandLine
Get-ItemProperty "HKCU:\Software\Microsoft\OneDrive\Accounts\Business1" |
  fl UserEmail,UserFolder,MountPoint,TenantDisplayName

OneDrive stores its account and sync-root config under this registry key per configured business account (Business1, Business2, …).

OneDrive sync troubleshooting — Microsoft Learn ↗ Get-ItemProperty — Microsoft Learn ↗ Known Folder Move overview — Microsoft Learn ↗ Checked Jul 2026
Minor changeFix mount point / restart client
$k="HKCU:\Software\Microsoft\OneDrive\Accounts\Business1"
$v=(Get-ItemProperty $k).UserFolder
Set-ItemProperty $k -Name MountPoint -Value $v

Stop-Process -Name OneDrive -Force -ErrorAction SilentlyContinue
Start-Process "$env:LOCALAPPDATA\Microsoft\OneDrive\OneDrive.exe"

Back up the registry key first. Expect "looking for changes" after restart.

Resetting MountPoint to the known UserFolder and restarting the client is the standard fix for a OneDrive sync root that's lost its target.

OneDrive sync troubleshooting — Microsoft Learn ↗ Get-ItemProperty — Microsoft Learn ↗ Known Folder Move overview — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Stuck on "Processing changes"

  1. Confirm the client is running and signed into the right account (check the process command line).
  2. Restart the client: stop the OneDrive process, then relaunch it.
  3. If still stuck, unlink and relink the account to rebuild the local sync database.
  4. Confirm MountPoint still points at a valid folder.

Files missing or not syncing

  1. Confirm the sync-root and account registry details are correct.
  2. Check the OneDrive logs for sync errors.
  3. Rule out path-length limits (over ~400 characters) or a Known Folder Move conflict.
06 SecurityAudit evidence, incident response, registry/policy, local admin, certs/TLS, KnowBe4, firewalls
Barracuda Email Security
ProcessFind and review a quarantined/blocked message
  1. In the Email Security Gateway, open Message Log and search by sender/recipient/subject.
  2. Check the delivery status and reason it was blocked or quarantined (spam score, policy, virus).
  3. If it looks like a false positive, check content-filtering rules and the sender domain's reputation.

Barracuda's message log is the single source of truth for "did this email even arrive" — check it before assuming a mail-flow problem elsewhere.

Confirms whether a "missing email" complaint is actually a Barracuda block/quarantine versus a problem further up the mail flow chain.

Barracuda Campus documentation ↗ Barracuda Email Security Gateway docs ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
ProcessRelease a message from quarantine
  1. Locate the message in the user's or admin quarantine inbox.
  2. Confirm it's legitimate — check the sender domain and any links before releasing.
  3. Release/deliver the message, and allowlist the sender if this will recur.

Releasing mail bypasses the spam/virus filter for that message — always verify legitimacy first, especially for anything with links or attachments.

The standard remediation for a legitimate email that got caught by spam filtering — releases it without disabling filtering for future mail.

Barracuda Campus documentation ↗ Barracuda Email Security Gateway docs ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
ProcessSender blocked / can't receive mail from a domain
  1. Check the IP/domain block list and sender reputation for the domain in question.
  2. Check content-filtering and policy rules that might be catching it.
  3. Add a sender exception if legitimate, and document why.

Reputation-based blocks resolve themselves over time if the sending domain cleans up its practices — an exception is a stopgap, not a permanent fix.

Separates a policy-based block (something you configured) from a reputation-based block (Barracuda's own threat intelligence), which need different fixes.

Barracuda Campus documentation ↗ Barracuda Email Security Gateway docs ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
ProcessCompiled vs interpreted (.exe vs bytecode)
  1. An .exe is a compiled binary of machine code for one platform.
  2. Python compiles source to bytecode, which is platform-independent and run by the Python interpreter.
  3. End users running bytecode need Python installed; tools like PyInstaller bundle it into an .exe.
  4. Compiled code usually runs faster and uses less memory than interpreted code.

Explains why Python scripts need the interpreter but compiled programs do not.

Python glossary — bytecode ↗ Barracuda Campus documentation ↗ Barracuda Email Security Gateway docs ↗ Checked Jul 2026
ProcessData flow — inbound mail through Barracuda
Mail filtering: MX to Barracuda, quarantine for blocked mail, clean mail to ExchangeMX recordclean mailspam / threatsdeliverInternet senderBarracuda(MX points here)QuarantineExchange Onlineor on-premUser mailbox
Internet sender↓ MX record → Barracuda (MX points here)
Barracuda (MX points here)↓ clean mail → Exchange Online or on-prem↓ spam / threats → Quarantine
Quarantine
Exchange Online or on-prem↓ deliver → User mailbox
User mailbox
Mail filtering: MX to Barracuda, quarantine for blocked mail, clean mail to Exchange
  1. The MX record points to the Barracuda service, so all inbound mail reaches it first.
  2. Barracuda scans for spam, malware, and phishing, and quarantines what it blocks.
  3. Clean mail is delivered to Exchange, which should accept mail only from Barracuda addresses.
  4. If mail is missing, check the Barracuda message log first, then Exchange message trace.
  5. Add allow or block entries carefully; broad allows are a common way spam gets in.

Where mail goes when a filtering service is in front of the mail server.

Barracuda Campus docs ↗ Mail flow in Exchange Online — Microsoft Learn ↗ Message trace — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

User says a legitimate email never arrived

  1. Search the Message Log for the message by sender, recipient, or subject.
  2. Check whether it was blocked, quarantined, or actually delivered.
  3. If quarantined, verify legitimacy, then release it.
  4. If it's a pattern from one domain, check sender reputation and consider a documented exception.
Blogs, Podcasts & Videos
ProcessBlogs/Podcasts/Videos — SysOps/DevOps
  1. Varnish for PHP developers ↗ — very interesting presentation of Varnish by Mattias Geniar
  2. A Netflix Guide to Microservices ↗ — talks about the chaotic and vibrant world of microservices at Netflix

Section "SysOps/DevOps" of the "Blogs/Podcasts/Videos" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Blogs/Podcasts/Videos chapter ↗ Source list — GitHub ↗ Varnish for PHP developers ↗ Checked Jul 2026
ProcessBlogs/Podcasts/Videos — Developers
  1. Comparing C to machine lang ↗ — compare a simple C app with the compiled machine code of that program

Section "Developers" of the "Blogs/Podcasts/Videos" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Blogs/Podcasts/Videos chapter ↗ Source list — GitHub ↗ Comparing C to machine lang ↗ Checked Jul 2026
ProcessBlogs/Podcasts/Videos — Geeky Persons
  1. Brendan Gregg's Blog ↗ — is an industry expert in computing performance and cloud computing
  2. Gynvael "GynDream" Coldwind ↗ — is a IT security engineer at Google
  3. Michał "lcamtuf" Zalewski ↗ — white hat hacker, computer security expert
  4. Mattias Geniar ↗ — developer, sysadmin, blogger, podcaster and public speaker
  5. Nick Craver ↗ — software developer and systems administrator for Stack Exchange
  6. Scott Helme ↗ — security researcher, speaker and founder of securityheaders.com and report-uri.com
  7. Brian Krebs ↗ — The Washington Post and now an Independent investigative journalist
  8. Bruce Schneier ↗ — is an internationally renowned security technologist, called a "security guru"
  9. Chrissy Morgan ↗ — advocate of practical learning, Chrissy also takes part in bug bounty programs
  10. Andy Gill ↗ — is a hacker at heart who works as a senior penetration tester
  11. Daniel Miessler ↗ — cybersecurity expert and writer
  12. Samy Kamkar ↗ — is an American privacy and security researcher, computer hacker
  13. Javvad Malik ↗ — is a security advocate at AlienVault, a blogger event speaker and industry commentator
  14. Graham Cluley ↗ — public speaker and independent computer security analyst
  15. Kacper Szurek ↗ — detection engineer at ESET
  16. Troy Hunt ↗ — web security expert known for public education and outreach on security topics
  17. raymii.org ↗ — sysadmin specializing in building high availability cloud environments
  18. Robert Penz ↗ — IT security expert

Section "Geeky Persons" of the "Blogs/Podcasts/Videos" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Blogs/Podcasts/Videos chapter ↗ Source list — GitHub ↗ Brendan Gregg's Blog ↗ Checked Jul 2026
ProcessBlogs/Podcasts/Videos — Geeky Blogs
  1. Linux Audit ↗ — the Linux security blog about auditing, hardening and compliance by Michael Boelen
  2. The Grymoire ↗ — collection of useful incantations for wizards, be you computer wizards, magicians, or whatever
  3. Secjuice ↗ — is the only non-profit, independent and volunteer led publication in the information security space
  4. Decipher ↗ — security news that informs and inspires

Section "Geeky Blogs" of the "Blogs/Podcasts/Videos" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Blogs/Podcasts/Videos chapter ↗ Source list — GitHub ↗ Linux Audit ↗ Checked Jul 2026
ProcessBlogs/Podcasts/Videos — Geeky Vendor Blogs
  1. Tenable Podcast ↗ — conversations and interviews related to Cyber Exposure, and more
  2. Sophos ↗ — threat news room, giving you news, opinion, advice and research on computer security issues
  3. Tripwire State of Security ↗ — blog featuring the latest news, trends and insights on current security issues
  4. Malwarebytes Labs Blog ↗ — security blog aims to provide insider news about cybersecurity
  5. TrustedSec ↗ — latest news, and trends about cybersecurity
  6. PortSwigger Web Security Blog ↗ — about web app security vulns and top tips from our team of web security
  7. AT&T Cybersecurity blog ↗ — news on emerging threats and practical advice to simplify threat detection
  8. Thycotic ↗ — where CISOs and IT Admins come to learn about industry trends, IT security, and more

Section "Geeky Vendor Blogs" of the "Blogs/Podcasts/Videos" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Blogs/Podcasts/Videos chapter ↗ Source list — GitHub ↗ Tenable Podcast ↗ Checked Jul 2026
ProcessBlogs/Podcasts/Videos — Geeky Cybersecurity Podcasts
  1. Risky Business ↗ — is a weekly information security podcast featuring news and in-depth interviews
  2. Cyber, by Motherboard ↗ — stories, and focus on the ideas about cybersecurity
  3. Tenable Podcast ↗ — conversations and interviews related to Cyber Exposure, and more
  4. The many hats club ↗ — featuring stories from a wide range of Infosec people (Whitehat, Greyhat and Blackhat)
  5. Darknet Diaries ↗ — true stories from the dark side of the Internet
  6. OSINTCurious Webcasts ↗ — is the investigative curiosity that helps people be successful in OSINT
  7. Security Weekly ↗ — the latest information security and hacking news

Section "Geeky Cybersecurity Podcasts" of the "Blogs/Podcasts/Videos" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Blogs/Podcasts/Videos chapter ↗ Source list — GitHub ↗ Risky Business ↗ Checked Jul 2026
ProcessBlogs/Podcasts/Videos — Geeky Cybersecurity Video Blogs
  1. rev3rse security ↗ — offensive, binary exploitation, web app security, hardening, red team, blue team
  2. LiveOverflow ↗ — a lot more advanced topics than what is typically offered in paid online courses - but for free
  3. J4vv4D ↗ — the important information regarding our internet security

Section "Geeky Cybersecurity Video Blogs" of the "Blogs/Podcasts/Videos" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Blogs/Podcasts/Videos chapter ↗ Source list — GitHub ↗ rev3rse security ↗ Checked Jul 2026
ProcessBlogs/Podcasts/Videos — Best Personal Twitter Accounts
  1. @blackroomsec ↗ — a white-hat hacker/pentester. Intergalactic Minesweeper Champion 1990
  2. @MarcoCiappelli ↗ — Co-Founder @ITSPmagazine, at the intersection of IT security and society
  3. @binitamshah ↗ — Linux Evangelist. Malwares. Kernel Dev. Security Enthusiast
  4. @joe_carson ↗ — an InfoSec Professional and Tech Geek
  5. @mikko ↗ — CRO at F-Secure, Reverse Engineer, TED Speaker, Supervillain
  6. @esrtweet ↗ — often referred to as ESR, is an American software developer, and open-source software advocate
  7. @gynvael ↗ — security researcher/programmer, @DragonSectorCTF founder/player, technical streamer
  8. @x0rz ↗ — Security Researcher & Cyber Observer
  9. @hasherezade ↗ — programmer, malware analyst. Author of PEbear, PEsieve, libPeConv
  10. @TinkerSec ↗ — tinkerer, cypherpunk, hacker
  11. @alisaesage ↗ — independent hacker and researcher
  12. @SwiftOnSecurity ↗ — systems security, industrial safety, sysadmin, author of decentsecurity.com
  13. @dakami ↗ — is one of just seven people with the authority to restore the DNS root keys
  14. @samykamkar ↗ — is a famous "grey hat" hacker, security researcher, creator of the MySpace "Samy" worm
  15. @securityweekly ↗ — founder & CTO of Security Weekly podcast network
  16. @jack_daniel ↗ — @SecurityBSides co-founder
  17. @thegrugq ↗ — Security Researcher
  18. @matthew_d_green ↗ — a cryptographer and professor at Johns Hopkins University

Section "Best Personal Twitter Accounts" of the "Blogs/Podcasts/Videos" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Blogs/Podcasts/Videos chapter ↗ Source list — GitHub ↗ @blackroomsec ↗ Checked Jul 2026
ProcessBlogs/Podcasts/Videos — Best Commercial Twitter Accounts
  1. @haveibeenpwned ↗ — check if you have an account that has been compromised in a data breach
  2. @bugcrowd ↗ — trusted by more of the Fortune 500 than any other crowdsourced security platform
  3. @Malwarebytes ↗ — most trusted security company. Unmatched threat visibility
  4. @sansforensics ↗ — the world's leading Digital Forensics and Incident Response provider
  5. @attcyber ↗ — AT&T Cybersecurity’s Edge-to-Edge technologies provide threat intelligence, and more
  6. @TheManyHatsClub ↗ — an information security focused podcast and group of individuals from all walks of life
  7. @hedgehogsec ↗ — Hedgehog Cyber. Gibraltar and Manchester's top boutique information security firm
  8. @NCSC ↗ — the National Cyber Security Centre. Helping to make the UK the safest place to live and work online
  9. @Synacktiv ↗ — IT security experts

Section "Best Commercial Twitter Accounts" of the "Blogs/Podcasts/Videos" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Blogs/Podcasts/Videos chapter ↗ Source list — GitHub ↗ @haveibeenpwned ↗ Checked Jul 2026
ProcessBlogs/Podcasts/Videos — A piece of history
  1. How to Do Things at ARL ↗ — how to configure modems, scan images, record CD-ROMs, and other.*

Section "A piece of history" of the "Blogs/Podcasts/Videos" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Blogs/Podcasts/Videos chapter ↗ Source list — GitHub ↗ How to Do Things at ARL ↗ Checked Jul 2026
ProcessBlogs/Podcasts/Videos — Other
  1. Diffie-Hellman Key Exchange (short version) ↗ — how Diffie-Hellman Key Exchange worked

Section "Other" of the "Blogs/Podcasts/Videos" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Blogs/Podcasts/Videos chapter ↗ Source list — GitHub ↗ Diffie-Hellman Key Exchange (short version) ↗ Checked Jul 2026
Common issue walkthrough

Find a tool in the "Blogs/Podcasts/Videos" chapter

  1. Open the matching section below.
  2. Open the tool link and read its README or manual.
  3. Test it on a lab or non-production system first.
  4. Record what you used in the ticket or change note.
Compliance — HIPAA & ISO
ProcessHandling PHI on a healthcare client system
  1. Confirm you're authorized under the client's BAA before accessing PHI-containing systems.
  2. Avoid exporting or emailing PHI outside approved, encrypted channels.
  3. Log access per HIPAA audit requirements — who, when, and what was accessed.

When in doubt about whether a system holds PHI, treat it as if it does until confirmed otherwise.

A Business Associate Agreement defines what a vendor/technician is authorized to access — working outside that scope is a compliance violation even if well-intentioned.

HHS HIPAA Security Rule — HHS.gov ↗ HIPAA Breach Notification Rule — HHS.gov ↗ ISO/IEC 27001 — ISO ↗ Checked Jul 2026
ProcessISO 27001-aligned change documentation
  1. Document the change request, approval, and rollback plan before making a production change.
  2. Record what was changed, by whom, and when (see the ticket note template in Escalation & Documentation).
  3. Confirm least-privilege access was used for the change.

This is the same discipline as the Escalation & Documentation ticket template — ISO 27001 just formalizes it as an audit requirement.

Change-management documentation is one of the most commonly audited controls under ISO/IEC 27001 — consistent records here make an audit far less painful.

ISO/IEC 27001 overview — ISO.org ↗ HHS HIPAA Security Rule — HHS.gov ↗ HIPAA Breach Notification Rule — HHS.gov ↗ Checked Jul 2026
ProcessResponding to a compliance-relevant security incident
  1. Treat any confirmed PHI or regulated-data exposure as a reportable incident — engage compliance/legal immediately.
  2. Follow the Security Incident Response steps for containment first.
  3. Preserve evidence and timeline for breach-notification requirements.

Containment and compliance notification run in parallel, not sequentially — don't wait for legal sign-off before isolating an active threat.

Breach-notification clocks (HIPAA's 60-day rule, for example) start from discovery, not from when containment finishes — early legal/compliance engagement matters.

HIPAA Breach Notification Rule — HHS.gov ↗ HHS HIPAA Security Rule — HHS.gov ↗ ISO/IEC 27001 — ISO ↗ Checked Jul 2026
Common issue walkthrough

Working a ticket that touches PHI or regulated data

  1. Confirm your access is authorized under the client's BAA before touching anything.
  2. Document the change per ISO 27001 practice — request, approval, and rollback plan.
  3. If you find evidence of a breach or exposure, stop and follow Security Incident Response immediately.
  4. Preserve logs and evidence, and loop in compliance/legal per the breach-notification timeline.
Daily Knowledge & News
ProcessYour daily knowledge and news — RSS Readers
  1. Feedly ↗ — organize, read and share what matters to you
  2. Inoreader ↗ — similar to feedly with a support for filtering what you fetch from rss

Section "RSS Readers" of the "Your daily knowledge and news" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Your daily knowledge and news chapter ↗ Source list — GitHub ↗ Feedly ↗ Checked Jul 2026
ProcessYour daily knowledge and news — IRC Channels
  1. #hackerspaces ↗ — hackerspace IRC channels

Section "IRC Channels" of the "Your daily knowledge and news" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Your daily knowledge and news chapter ↗ Source list — GitHub ↗ #hackerspaces ↗ Checked Jul 2026
ProcessYour daily knowledge and news — Security
  1. The Hacker News ↗ — leading news source dedicated to promoting awareness for security experts and hackers
  2. Latest Hacking News ↗ — provides the latest hacking news, exploits and vulnerabilities for ethical hackers
  3. Security Newsletter ↗ — security news as a weekly digest (email notifications)
  4. Google Online Security Blog ↗ — the latest news and insights from Google on security and safety on the Internet
  5. Qualys Blog ↗ — expert network security guidance and news
  6. DARKReading ↗ — connecting the Information Security Community
  7. Darknet ↗ — latest hacking tools, hacker news, cybersecurity best practices, ethical hacking & pen-testing
  8. publiclyDisclosed ↗ — public disclosure watcher who keeps you up to date about the recently disclosed bugs
  9. Reddit - Hacking ↗ — a subreddit dedicated to hacking and hackers
  10. Packet Storm ↗ — information security services, news, files, tools, exploits, advisories and whitepapers
  11. Sekurak ↗ — about security, penetration tests, vulnerabilities and many others (PL/EN)
  12. nf.sec ↗ — basic aspects and mechanisms of Linux operating system security (PL)

Section "Security" of the "Your daily knowledge and news" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Your daily knowledge and news chapter ↗ Source list — GitHub ↗ The Hacker News ↗ Checked Jul 2026
ProcessYour daily knowledge and news — Other/All-in-one
  1. Changelog ↗ — is a community of hackers; news & podcasts for developers and hackers

Section "Other/All-in-one" of the "Your daily knowledge and news" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Your daily knowledge and news chapter ↗ Source list — GitHub ↗ Changelog ↗ Checked Jul 2026
Common issue walkthrough

Find a tool in the "Your daily knowledge and news" chapter

  1. Open the matching section below.
  2. Open the tool link and read its README or manual.
  3. Test it on a lab or non-production system first.
  4. Record what you used in the ticket or change note.
Data Safeguards & Backups
ProcessBackup verification checklist
  1. Confirm each backup job ran and finished (scheduler, Db2 history, SQL backupset, mksysb listing).
  2. Check size and time against the previous run.
  3. Check the backup is stored in the approved location and encrypted.
  4. Test a restore on a schedule to a non-production target and verify the data.
  5. Record the result; report failures right away.

Combine with the Db2 backup history and SQL backupset entries in this guide.

A backup you have never restored is only a hope. Verify both the job and the restore.

Db2 documentation — IBM ↗ mksysb — IBM AIX ↗ Back up and restore SQL Server — Microsoft Learn ↗ Checked Jul 2026
ProcessSecure data handling and transfer
  1. Send PHI only through approved secure transfer (SFTP/MFT, encrypted portal).
  2. Encrypt files with the partner's PGP key when required.
  3. Keep copies only as long as needed, then delete securely.
  4. Do not store PHI on laptops, USB drives, or personal cloud storage.
  5. Use least-privilege access and review who has it regularly.
  6. Log transfers and keep audit evidence.

Practical rules for keeping client data safe.

HIPAA Security Rule — HHS ↗ GoAnywhere resources — Fortra ↗ Encryption and PHI — HHS ↗ Checked Jul 2026
ProcessData retention and disposal
  1. Follow the retention schedule in company policy and the customer contract.
  2. Archive according to the approved method and location.
  3. Delete files and media securely at the end of retention (certified wipe or destruction).
  4. Record what was destroyed, when, and by whom.
  5. Never delete without confirming it is not under a legal hold.
ProcessReport a suspected data incident
  1. Stop and do not delete anything.
  2. Note what happened, when, which system, and what data may be involved.
  3. Report immediately through the incident or security channel.
  4. Preserve logs and evidence.
  5. Follow instructions from the security/compliance team.

Speed matters — notification clocks may start when the incident is discovered.

Breach notification — HHS ↗ HIPAA Security Rule — HHS ↗ ITIL incident management — Atlassian ↗ Checked Jul 2026
ProcessData flow — 3-2-1 backup and restore test
Backup: local copy plus off-site copy, job monitoring, and scheduled restore testsread databackup jobreplicatesuccess/failtest restoreServers and VMsBackup softwareor agentLocal repository(copy 1)Off-site / AzureBackup (copy 2)Job statusalertsRestore test
Servers and VMs↓ read data → Backup software or agent
Backup software or agent↓ backup job → Local repository (copy 1)↓ success/fail → Job status alerts
Job status alerts
Local repository (copy 1)↓ replicate → Off-site / Azure Backup (copy 2)
Off-site / Azure Backup (copy 2)↓ test restore → Restore test
Restore test
Backup: local copy plus off-site copy, job monitoring, and scheduled restore tests
  1. Keep three copies, on two kinds of media, with one off-site (and ideally one immutable or offline).
  2. Back up on a schedule, then replicate to an off-site or cloud target.
  3. Send job results to monitoring; failed or missing jobs should open a ticket.
  4. Test a restore on a schedule; a backup that was never restored is unproven.
  5. Document the restore steps and the recovery time and point targets.

The standard backup chain from source to off-site copy to verified restore.

3-2-1 backup rule — NIST SP 800-34 ↗ Azure Backup — Microsoft Learn ↗ Back up and restore SQL Server — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Backup failed

  1. Read the job log.
  2. Fix space or access.
  3. Rerun and verify.
  4. Report to the owner.
Exchange Certificates / TLS
SafeCertificate inventory
Get-ExchangeCertificate | Format-List FriendlyName,Thumbprint,Services,Subject,CertificateDomains,NotAfter
Get-ExchangeCertificate | ft FriendlyName,Thumbprint,Services,NotAfter -Auto
Get-ExchangeCertificate | Select Thumbprint,Services,RootCAType,IsSelfSigned

Run this first — do not remove a cert just because it's self-signed; Exchange commonly uses these internally.

Always start certificate troubleshooting here — a self-signed cert in the Services column may still be actively in use by Exchange internally.

Get-ExchangeCertificate — Microsoft Learn ↗ Get-ReceiveConnector — Microsoft Learn ↗ openssl s_client — OpenSSL docs ↗ Checked Jul 2026
SafeFind IIS cert / expiring certs
Get-ExchangeCertificate | ? {$_.Services -match 'IIS'} | ft FriendlyName,Subject,Thumbprint,NotAfter -Auto
Get-ExchangeCertificate | ? {$_.NotAfter -lt (Get-Date).AddDays(30)} | ft FriendlyName,Subject,Services,NotAfter -Auto

IIS affects OWA, ECP, EWS, ActiveSync, Autodiscover, and Outlook connectivity.

IIS-assigned certificates affect OWA, ECP, EWS, ActiveSync, Autodiscover, and Outlook connectivity — check expiry (NotAfter) before anything else.

Get-ExchangeCertificate — Microsoft Learn ↗ Get-ReceiveConnector — Microsoft Learn ↗ openssl s_client — OpenSSL docs ↗ Checked Jul 2026
SafeConnector & auth TLS config
Get-ReceiveConnector | ft Name,TlsCertificateName -Auto
Get-SendConnector | fl Name,SmartHosts,DNSRoutingEnabled,TlsCertificateName,RequireTLS,CloudServicesMailEnabled
Get-AuthConfig | fl *

TlsCertificateName on Receive/Send connectors and Get-AuthConfig determine which certificate Exchange actually uses for transport and internal auth.

Get-AuthConfig — Microsoft Learn ↗ Get-ExchangeCertificate — Microsoft Learn ↗ Get-ReceiveConnector — Microsoft Learn ↗ Checked Jul 2026
SafeIIS binding & external verification
Import-Module WebAdministration; Get-WebBinding
netsh http show sslcert
Test-NetConnection mail.domain.com -Port 443
openssl s_client -connect mail.domain.com:443 -servername mail.domain.com
openssl s_client -starttls smtp -connect mail.domain.com:25 -servername mail.domain.com

openssl s_client shows the certificate actually presented externally — useful when a firewall, reverse proxy, or load balancer might present a different one than Exchange reports.

openssl s_client — OpenSSL docs ↗ Get-ExchangeCertificate — Microsoft Learn ↗ Get-ReceiveConnector — Microsoft Learn ↗ Checked Jul 2026
Minor changeAssign certificate to services
Enable-ExchangeCertificate -Thumbprint <thumbprint> -Services IIS,SMTP

Confirm the correct cert, subject/SANs, expiration, and private key first.

Enable-ExchangeCertificate assigns a certificate to IIS/SMTP/POP/IMAP — confirm subject, SANs, expiry, and private key presence before running.

Enable-ExchangeCertificate — Microsoft Learn ↗ Get-ExchangeCertificate — Microsoft Learn ↗ Get-ReceiveConnector — Microsoft Learn ↗ Checked Jul 2026
Big changeImport / create / remove certificate
Import-ExchangeCertificate -FileData ([System.IO.File]::ReadAllBytes('C:\Temp\cert.pfx')) -Password (Read-Host 'Password' -AsSecureString)
New-ExchangeCertificate -FriendlyName 'Microsoft Exchange' -SubjectName 'CN=SERVERNAME'
Remove-ExchangeCertificate -Thumbprint <thumbprint>

Don't remove until you've proven no services/connectors/AuthConfig depend on it. Workflow: inventory → check IIS/SMTP/IMAP/POP assignment → check expiry → check Receive/Send connector TLS → check AuthConfig → check IIS bindings → test what's actually presented externally → only then change.

Don't remove a certificate until you've proven no service, connector, or AuthConfig setting still depends on it.

Remove-ExchangeCertificate — Microsoft Learn ↗ Get-ExchangeCertificate — Microsoft Learn ↗ Get-ReceiveConnector — Microsoft Learn ↗ Checked Jul 2026
ProcessGenerate a CSR for certificate renewal
  1. Download and run the DigiCert Certificate Utility for Windows on the Exchange server.
  2. Click the expiring certificate, then click Create CSR.
  3. Click Copy CSR and paste it into your CA's renewal request form.
  4. Once the CA issues the new certificate, download it — pick "Exchange" as the service type if the CA offers a choice.

This applies to CA-signed certificates only, not self-signed ones. Most CAs take a few minutes to a few hours to issue the renewed cert once the CSR is submitted.

The DigiCert utility is the most common way to generate a renewal CSR that matches the existing certificate's key, avoiding the extra step of manually building a CSR with OpenSSL.

DigiCert Certificate Utility for Windows ↗ Get-ExchangeCertificate — Microsoft Learn ↗ Get-ReceiveConnector — Microsoft Learn ↗ Checked Jul 2026
Minor changeRepair a certificate missing its private key
# open MMC (Win+R, mmc), add the Certificates snap-in (Ctrl+M), browse Personal store
# find the cert missing a key icon, open it, copy the serial number from the Details tab
certutil -repairstore my "CERTIFICATE SERIAL NUMBER"

A newly-imported certificate showing a missing-key icon in MMC (no key overlay on the icon) usually means the private key didn't associate correctly during import. Refresh MMC after running the repair — the certificate should then also appear on the ECP certificate page.

certutil -repairstore re-associates an orphaned private key with its certificate in the machine store — the standard fix when Import-ExchangeCertificate succeeds but the cert still can't be enabled for services.

certutil — Microsoft Learn ↗ Get-ExchangeCertificate — Microsoft Learn ↗ Get-ReceiveConnector — Microsoft Learn ↗ Checked Jul 2026
Minor changeChange a certificate's friendly name
# MMC: File > Add Snap-in > Certificates > Computer account
# Personal store > right-click the cert > Properties > edit Friendly Name

The friendly name is purely cosmetic but shows up on the ECP certificate storage page — worth setting to something descriptive (e.g. the renewal year or issuing CA) so the right certificate is obvious at a glance later.

A clear friendly name is the difference between instantly recognizing the right certificate in ECP and having to check thumbprints one by one during an incident.

Get-ExchangeCertificate — Microsoft Learn ↗ Get-ReceiveConnector — Microsoft Learn ↗ openssl s_client — OpenSSL docs ↗ Checked Jul 2026
Big changeReplace the send connector certificate
$TLSCert = Get-ExchangeCertificate -Thumbprint "NEW CERTIFICATE THUMBPRINT"
$TLSCertName = "<I>$($TLSCert.Issuer)<S>$($TLSCert.Subject)"
Stop-Service MSExchangeTransport
Set-SendConnector -Identity "SEND CONNECTOR NAME" -TlsCertificateName $Null
# remove the old certificate through ECP once nothing references it
Set-SendConnector "SEND CONNECTOR NAME" -TlsCertificateName $TLSCertName
Start-Service MSExchangeTransport

Clearing TlsCertificateName to $Null before reassigning avoids a conflict if the old and new certificate names overlap. This briefly stops outbound transport — do it during a maintenance window.

The TlsCertificateName format (Issuer + Subject) is easy to get wrong by hand — building it directly from the certificate object's own properties avoids typos that silently break outbound TLS.

Set-SendConnector — Microsoft Learn ↗ Get-ExchangeCertificate — Microsoft Learn ↗ Get-ReceiveConnector — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

OWA/Outlook showing a certificate warning

  1. Inventory certificates and IIS assignment: Get-ExchangeCertificate.
  2. Check expiry via the NotAfter field.
  3. Confirm the subject/SAN matches the client-facing namespace.
  4. Import and assign a new certificate if needed: Import-ExchangeCertificate, Enable-ExchangeCertificate.

Inbound mail failing TLS

  1. Check the Receive Connector's TLS cert assignment.
  2. Confirm what's actually presented externally: openssl s_client -starttls smtp.
  3. Compare against the intended certificate's thumbprint and expiry.
Hacking & Penetration Testing
ProcessHacking/Penetration Testing — Pentesters arsenal tools
  1. Sandcat Browser ↗ — a penetration-oriented browser with plenty of advanced functionality already built in
  2. Metasploit ↗ — tool and framework for pentesting system, web and many more
  3. Burp Suite ↗ — tool for testing web app security, intercepting proxy to replay, inject, scan and fuzz
  4. OWASP Zed Attack Proxy ↗ — intercepting proxy to replay, inject, scan and fuzz HTTP requests
  5. w3af ↗ — is a Web Application Attack and Audit Framework
  6. mitmproxy ↗ — an interactive TLS-capable intercepting HTTP proxy for penetration testers
  7. Nikto2 ↗ — web server scanner which performs comprehensive tests against web servers for multiple items
  8. sqlmap ↗ — tool that automates the process of detecting and exploiting SQL injection flaws
  9. Recon-ng ↗ — is a full-featured Web Reconnaissance framework written in Python
  10. AutoRecon ↗ — is a network reconnaissance tool which performs automated enumeration of services
  11. Faraday ↗ — an Integrated Multiuser Pentest Environment
  12. Photon ↗ — incredibly fast crawler designed for OSINT
  13. XSStrike ↗ — most advanced XSS detection suite
  14. Sn1per ↗ — automated pentest framework for offensive security experts
  15. vuls ↗ — is an agent-less vulnerability scanner for Linux, FreeBSD, and other
  16. tsunami ↗ — is a general purpose network security scanner with an extensible plugin system
  17. aquatone ↗ — a tool for domain flyovers
  18. BillCipher ↗ — information gathering tool for a website or IP address
  19. WhatWaf ↗ — detect and bypass web application firewalls and protection systems
  20. Corsy ↗ — CORS misconfiguration scanner
  21. Raccoon ↗ — is a high performance offensive security tool for reconnaissance and vulnerability scanning
  22. dirhunt ↗ — find web directories without bruteforce
  23. John The Ripper ↗ — is a fast password cracker, currently available for many flavors of Unix, Windows, and other
  24. hashcat ↗ — world's fastest and most advanced password recovery utility
  25. p0f ↗ — is a tool to identify the players behind any incidental TCP/IP communications
  26. ssh_scan ↗ — a prototype SSH configuration and policy scanner
  27. LeakLooker ↗ — find open databases - powered by Binaryedge.io
  28. exploitdb ↗ — searchable archive from The Exploit Database
  29. getsploit ↗ — is a command line utility for searching and downloading exploits
  30. ctf-tools ↗ — some setup scripts for security research tools
  31. pwntools ↗ — CTF framework and exploit development library
  32. security-tools ↗ — collection of small security tools created mostly in Python. CTFs, pentests and so on
  33. pentestpackage ↗ — is a package of Pentest scripts
  34. python-pentest-tools ↗ — python tools for penetration testers
  35. fuzzdb ↗ — dictionary of attack patterns and primitives for black-box application fault injection
  36. AFL ↗ — is a free software fuzzer maintained by Google
  37. AFL++ ↗ — is AFL with community patches
  38. syzkaller ↗ — is an unsupervised, coverage-guided kernel fuzzer
  39. pwndbg ↗ — exploit development and reverse engineering with GDB made easy
  40. GDB PEDA ↗ — Python Exploit Development Assistance for GDB
  41. IDA ↗ — multi-processor disassembler and debugger useful for reverse engineering malware
  42. radare2 ↗ — framework for reverse-engineering and analyzing binaries
  43. routersploit ↗ — exploitation framework for embedded devices
  44. Ghidra ↗ — is a software reverse engineering (SRE) framework
  45. Cutter ↗ — is an SRE platform integrating Ghidra's decompiler
  46. Vulnreport ↗ — open-source pentesting management and automation platform by Salesforce Product Security
  47. Mentalist ↗ — is a graphical tool for custom wordlist generation
  48. archerysec ↗ — vulnerability assessment and management helps to perform scans and manage vulnerabilities
  49. Osmedeus ↗ — fully automated offensive security tool for reconnaissance and vulnerability scanning
  50. beef ↗ — the browser exploitation framework project
  51. AutoSploit ↗ — automated mass exploiter
  52. SUDO_KILLER ↗ — is a tool to identify and exploit sudo rules' misconfigurations and vulnerabilities
  53. yara ↗ — the pattern matching swiss knife
  54. mimikatz ↗ — a little tool to play with Windows security
  55. sherlock ↗ — hunt down social media accounts by username across social networks
  56. OWASP Threat Dragon ↗ — is a tool used to create threat model diagrams and to record possible threats

Offensive-security tools: use only on systems you own or have written permission to test.

Section "Pentesters arsenal tools" of the "Hacking/Penetration Testing" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Hacking/Penetration Testing chapter ↗ Source list — GitHub ↗ Sandcat Browser ↗ Checked Jul 2026
ProcessHacking/Penetration Testing — Pentests bookmarks collection
  1. PTES ↗ — the penetration testing execution standard
  2. Pentests MindMap ↗ — amazing mind map with vulnerable apps and systems
  3. WebApps Security Tests MindMap ↗ — incredible mind map for WebApps security tests
  4. Brute XSS ↗ — master the art of Cross Site Scripting
  5. XSS cheat sheet ↗ — contains many vectors that can help you bypass WAFs and filters
  6. Offensive Security Bookmarks ↗ — security bookmarks collection, all things that author need to pass OSCP
  7. Awesome Pentest Cheat Sheets ↗ — collection of the cheat sheets useful for pentesting
  8. Awesome Hacking by HackWithGithub ↗ — awesome lists for hackers, pentesters and security researchers
  9. Awesome Hacking by carpedm20 ↗ — a curated list of awesome hacking tutorials, tools and resources
  10. Awesome Hacking Resources ↗ — collection of hacking/penetration testing resources to make you better
  11. Awesome Pentest ↗ — collection of awesome penetration testing resources, tools and other shiny things
  12. Awesome-Hacking-Tools ↗ — is a curated list of awesome Hacking Tools
  13. Hacking Cheat Sheet ↗ — author hacking and pentesting notes
  14. blackhat-arsenal-tools ↗ — official Black Hat arsenal security tools repository
  15. Penetration Testing and WebApp Cheat Sheets ↗ — the complete list of Infosec related cheat sheets
  16. Cyber Security Resources ↗ — includes thousands of cybersecurity-related references and resources
  17. Pentest Bookmarks ↗ — there are a LOT of pentesting blogs
  18. Cheatsheet-God ↗ — Penetration Testing Reference Bank - OSCP/PTP & PTX Cheatsheet
  19. ThreatHunter-Playbook ↗ — to aid the development of techniques and hypothesis for hunting campaigns
  20. Beginner-Network-Pentesting ↗ — notes for beginner network pentesting course
  21. OSCPRepo ↗ — is a list of resources that author have been gathering in preparation for the OSCP
  22. PayloadsAllTheThings ↗ — a list of useful payloads and bypass for Web Application Security and Pentest/CTF
  23. payloads ↗ — git all the Payloads! A collection of web attack payloads
  24. command-injection-payload-list ↗ — command injection payload list
  25. Awesome Shodan Search Queries ↗ — great search queries to plug into Shodan
  26. AwesomeXSS ↗ — is a collection of Awesome XSS resources
  27. php-webshells ↗ — common php webshells
  28. Pentesting Tools Cheat Sheet ↗ — a quick reference high level overview for typical penetration testing
  29. OWASP Cheat Sheet Series ↗ — is a collection of high value information on specific application security topics
  30. OWASP dependency-check ↗ — is an open source solution the OWASP Top 10 2013 entry
  31. OWASP ProActive Controls ↗ — OWASP Top 10 Proactive Controls 2018
  32. PENTESTING-BIBLE ↗ — hacking & penetration testing & red team & cyber security resources
  33. pentest-wiki ↗ — is a free online security knowledge library for pentesters/researchers
  34. DEF CON Media Server ↗ — great stuff from DEFCON
  35. Awesome Malware Analysis ↗ — a curated list of awesome malware analysis tools and resources
  36. SQL Injection Cheat Sheet ↗ — detailed technical stuff about the many different variants of the SQL Injection
  37. Entersoft Knowledge Base ↗ — great and detailed reference about vulnerabilities
  38. HTML5 Security Cheatsheet ↗ — a collection of HTML5 related XSS attack vectors
  39. XSS String Encoder ↗ — for generating XSS code to check your input validation filters against XSS
  40. GTFOBins ↗ — list of Unix binaries that can be exploited by an attacker to bypass local security restrictions
  41. Guifre Ruiz Notes ↗ — collection of security, system, network and pentest cheatsheets
  42. SSRF Tips ↗ — a collection of SSRF Tips
  43. shell-storm repo CTF ↗ — great archive of CTFs
  44. ctf ↗ — CTF (Capture The Flag) writeups, code snippets, notes, scripts
  45. My-CTF-Web-Challenges ↗ — collection of CTF Web challenges
  46. MSTG ↗ — The Mobile Security Testing Guide (MSTG) is a comprehensive manual for mobile app security testing
  47. Internal-Pentest-Playbook ↗ — notes on the most common things for an Internal Network Penetration Test
  48. KeyHacks ↗ — shows quick ways in which API keys leaked by a bug bounty program can be checked
  49. securitum/research ↗ — various Proof of Concepts of security research performed by Securitum
  50. public-pentesting-reports ↗ — is a list of public pentest reports released by several consulting security groups
  51. awesome-bug-bounty ↗ — is a comprehensive curated list of available Bug Bounty
  52. bug-bounty-reference ↗ — is a list of bug bounty write-ups
  53. Awesome-Bugbounty-Writeups ↗ — is a curated list of bugbounty writeups
  54. Bug bounty writeups ↗ — list of bug bounty writeups (2012-2020)
  55. hackso.me ↗ — a great journey into security

Offensive-security tools: use only on systems you own or have written permission to test.

Section "Pentests bookmarks collection" of the "Hacking/Penetration Testing" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Hacking/Penetration Testing chapter ↗ Source list — GitHub ↗ PTES ↗ Checked Jul 2026
ProcessHacking/Penetration Testing — Backdoors/exploits
  1. PHP-backdoors ↗ — a collection of PHP backdoors. For educational or testing purposes only

Offensive-security tools: use only on systems you own or have written permission to test.

Section "Backdoors/exploits" of the "Hacking/Penetration Testing" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Hacking/Penetration Testing chapter ↗ Source list — GitHub ↗ PHP-backdoors ↗ Checked Jul 2026
ProcessHacking/Penetration Testing — Wordlists and Weak passwords
  1. Weakpass ↗ — for any kind of bruteforce find wordlists or unleash the power of them all at once!
  2. Hashes.org ↗ — is a free online hash resolving service incorporating many unparalleled techniques
  3. SecLists ↗ — collection of multiple types of lists used during security assessments, collected in one place
  4. Probable-Wordlists ↗ — sorted by probability originally created for password generation and testing
  5. skullsecurity passwords ↗ — password dictionaries and leaked passwords repository
  6. Polish PREMIUM Dictionary ↗ — official dictionary created by the team on the forum bezpieka.org.* 1
  7. statistically-likely-usernames ↗ — wordlists for creating statistically likely username lists

Offensive-security tools: use only on systems you own or have written permission to test.

Section "Wordlists and Weak passwords" of the "Hacking/Penetration Testing" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Hacking/Penetration Testing chapter ↗ Source list — GitHub ↗ Weakpass ↗ Checked Jul 2026
ProcessHacking/Penetration Testing — Bounty platforms
  1. YesWeHack ↗ — bug bounty platform with infosec jobs
  2. Openbugbounty ↗ — allows any security researcher reporting a vulnerability on any website
  3. hackerone ↗ — global hacker community to surface the most relevant security issues
  4. bugcrowd ↗ — crowdsourced cybersecurity for the enterprise
  5. Crowdshield ↗ — crowdsourced security & bug bounty management
  6. Synack ↗ — crowdsourced security & bug bounty programs, crowd security intelligence platform, and more
  7. Hacktrophy ↗ — bug bounty platform

Offensive-security tools: use only on systems you own or have written permission to test.

Section "Bounty platforms" of the "Hacking/Penetration Testing" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Hacking/Penetration Testing chapter ↗ Source list — GitHub ↗ YesWeHack ↗ Checked Jul 2026
ProcessHacking/Penetration Testing — Web Training Apps (local installation)
  1. OWASP-VWAD ↗ — comprehensive and well maintained registry of all known vulnerable web applications
  2. DVWA ↗ — PHP/MySQL web application that is damn vulnerable
  3. metasploitable2 ↗ — vulnerable web application amongst security researchers
  4. metasploitable3 ↗ — is a VM that is built from the ground up with a large amount of security vulnerabilities
  5. DSVW ↗ — is a deliberately vulnerable web application written in under 100 lines of code
  6. OWASP Mutillidae II ↗ — free, open source, deliberately vulnerable web-application
  7. OWASP Juice Shop Project ↗ — the most bug-free vulnerable application in existence
  8. OWASP Node js Goat Project ↗ — OWASP Top 10 security risks apply to web apps developed using Node.js
  9. juicy-ctf ↗ — run Capture the Flags and Security Trainings with OWASP Juice Shop
  10. SecurityShepherd ↗ — web and mobile application security training platform
  11. Security Ninjas ↗ — open source application security training program
  12. hackazon ↗ — a modern vulnerable web app
  13. dvna ↗ — damn vulnerable NodeJS application
  14. django-DefectDojo ↗ — is an open-source application vulnerability correlation and security orchestration tool
  15. Google Gruyere ↗ — web application exploits and defenses
  16. Bodhi ↗ — is a playground focused on learning the exploitation of client-side web vulnerabilities
  17. Websploit ↗ — single vm lab with the purpose of combining several vulnerable appliations in one environment
  18. vulhub ↗ — pre-built Vulnerable Environments based on docker-compose
  19. CloudGoat 2 ↗ — the new & improved "Vulnerable by Design"
  20. secDevLabs ↗ — is a laboratory for learning secure web development in a practical manner
  21. CORS-vulnerable-Lab ↗ — sample vulnerable code and its exploit code
  22. RootTheBox ↗ — a Game of Hackers (CTF Scoreboard & Game Manager)
  23. KONTRA ↗ — application security training (OWASP Top Web & Api)

Offensive-security tools: use only on systems you own or have written permission to test.

Section "Web Training Apps (local installation)" of the "Hacking/Penetration Testing" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Hacking/Penetration Testing chapter ↗ Source list — GitHub ↗ OWASP-VWAD ↗ Checked Jul 2026
ProcessHacking/Penetration Testing — Labs (ethical hacking platforms/trainings/CTFs)
  1. Offensive Security ↗ — true performance-based penetration testing training for over a decade
  2. Hack The Box ↗ — online platform allowing you to test your penetration testing skills
  3. Hacking-Lab ↗ — online ethical hacking, computer network and security challenge platform
  4. pwnable.kr ↗ — non-commercial wargame site which provides various pwn challenges
  5. Pwnable.tw ↗ — is a wargame site for hackers to test and expand their binary exploiting skills
  6. picoCTF ↗ — is a free computer security game targeted at middle and high school students
  7. CTFlearn ↗ — is an online platform built to help ethical hackers learn and practice their cybersecurity knowledge
  8. ctftime ↗ — CTF archive and a place, where you can get some another CTF-related info
  9. Silesia Security Lab ↗ — high quality security testing services
  10. Practical Pentest Labs ↗ — pentest lab, take your Hacking skills to the next level
  11. Root Me ↗ — the fast, easy, and affordable way to train your hacking skills
  12. rozwal.to ↗ — a great platform to train your pentesting skills
  13. TryHackMe ↗ — learning Cyber Security made easy
  14. hackxor ↗ — is a realistic web application hacking game, designed to help players of all abilities develop their skills
  15. Hack Yourself First ↗ — it's full of nasty app sec holes
  16. OverTheWire ↗ — can help you to learn and practice security concepts in the form of fun-filled games
  17. Wizard Labs ↗ — is an online Penetration Testing Lab
  18. PentesterLab ↗ — provides vulnerable systems that can be used to test and understand vulnerabilities
  19. RingZer0 ↗ — tons of challenges designed to test and improve your hacking skills
  20. try2hack ↗ — several security-oriented challenges for your entertainment
  21. Ubeeri ↗ — preconfigured lab environments
  22. Pentestit ↗ — emulate IT infrastructures of real companies for legal pen testing and improving pentest skills
  23. Microcorruption ↗ — reversal challenges done in the web interface
  24. Crackmes ↗ — download crackmes to help improve your reverse engineering skills
  25. DomGoat ↗ — DOM XSS security learning and practicing platform
  26. Stereotyped Challenges ↗ — upgrade your web hacking techniques today!
  27. Vulnhub ↗ — allows anyone to gain practical 'hands-on' experience in digital security
  28. W3Challs ↗ — is a penetration testing training platform, which offers various computer challenges
  29. RingZer0 CTF ↗ — offers you tons of challenges designed to test and improve your hacking skills
  30. Hack.me ↗ — a platform where you can build, host and share vulnerable web apps for educational purposes
  31. HackThis! ↗ — discover how hacks, dumps and defacements are performed and secure your website
  32. Enigma Group WebApp Training ↗ — these challenges cover the exploits listed in the OWASP Top 10 Project
  33. Reverse Engineering Challenges ↗ — challenges, exercises, problems and tasks - by level, by type, and more
  34. 0x00sec ↗ — the home of the Hacker - Malware, Reverse Engineering, and Computer Science
  35. We Chall ↗ — there are exist a lots of different challenge types
  36. Hacker Gateway ↗ — is the go-to place for hackers who want to test their skills
  37. Hacker101 ↗ — is a free class for web security
  38. contained.af ↗ — a stupid game for learning about containers, capabilities, and syscalls
  39. flAWS challenge! ↗ — a series of levels you'll learn about common mistakes and gotchas when using AWS
  40. CyberSec WTF ↗ — provides web hacking challenges derived from bounty write-ups
  41. CTF Challenge ↗ — CTF Web App challenges
  42. gCTF ↗ — most of the challenges used in the Google CTF 2017
  43. Hack This Site ↗ — is a free, safe and legal training ground for hackers
  44. Attack & Defense ↗ — is a browser-based cloud labs
  45. Cryptohack ↗ — a fun platform for learning modern cryptography
  46. Cryptopals ↗ — the cryptopals crypto challenges

Offensive-security tools: use only on systems you own or have written permission to test.

Section "Labs (ethical hacking platforms/trainings/CTFs)" of the "Hacking/Penetration Testing" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Hacking/Penetration Testing chapter ↗ Source list — GitHub ↗ Offensive Security ↗ Checked Jul 2026
ProcessHacking/Penetration Testing — CTF platforms
  1. fbctf ↗ — platform to host Capture the Flag competitions
  2. ctfscoreboard ↗ — scoreboard for Capture The Flag competitions

Offensive-security tools: use only on systems you own or have written permission to test.

Section "CTF platforms" of the "Hacking/Penetration Testing" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Hacking/Penetration Testing chapter ↗ Source list — GitHub ↗ fbctf ↗ Checked Jul 2026
ProcessHacking/Penetration Testing — Other resources
  1. Bugcrowd University ↗ — open source education content for the researcher community
  2. OSCPRepo ↗ — a list of resources and scripts that I have been gathering in preparation for the OSCP
  3. OWASP Top 10: Real-World Examples ↗ — test your web apps with real-world examples (two-part series)
  4. phrack.org ↗ — an awesome collection of articles from several respected hackers and other thinkers
  5. Practical-Ethical-Hacking-Resources ↗ — compilation of resources from TCM's Udemy Course

Offensive-security tools: use only on systems you own or have written permission to test.

Section "Other resources" of the "Hacking/Penetration Testing" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Hacking/Penetration Testing chapter ↗ Source list — GitHub ↗ Bugcrowd University ↗ Checked Jul 2026
Common issue walkthrough

Find a tool in the "Hacking/Penetration Testing" chapter

  1. Open the matching section below.
  2. Open the tool link and read its README or manual.
  3. Test it on a lab or non-production system first.
  4. Record what you used in the ticket or change note.
Health Plan Basics & HIPAA
ProcessHealth plan data flow in plain English
  1. Enrollment: the plan receives member files (often X12 834) from CMS, the state, or employers and loads who is covered and when.
  2. Eligibility: providers check coverage (270/271) before treating a member.
  3. Claims: providers send claims (X12 837); the platform checks, prices, and decides payment (adjudication).
  4. Payment: the plan pays and sends an explanation (835) and a member EOB.
  5. Reporting: the plan sends encounter and other data back to CMS or the state and produces quality and financial reports.
  6. Support's job: keep the file feeds, scheduled jobs, databases, and screens working so each step completes on time.

The business process behind the systems. It explains why a late file or failed job matters.

X12 EDI standards ↗ CMS.gov ↗ RAM Technologies HEALTHsuite announcement — PRWeb ↗ Checked Jul 2026
ProcessCommon EDI transaction types
  1. 834: benefit enrollment and maintenance.
  2. 837 (P/I/D): health care claim (professional, institutional, dental).
  3. 835: payment/remittance advice.
  4. 270 / 271: eligibility inquiry and response.
  5. 276 / 277: claim status inquiry and response.
  6. 278: prior authorization.
  7. 999 / TA1: acknowledgements — look here first when a file is rejected.

The X12 healthcare transaction numbers you will see in file names and job logs.

X12 EDI standards ↗ CMS.gov ↗ HIPAA transactions — CMS ↗ Checked Jul 2026
ProcessWhy a file might be rejected
  1. Wrong file name or missing date in the name.
  2. Empty, partial, or duplicate file.
  3. Bad structure: missing header/trailer, wrong delimiter, or bad control numbers.
  4. Invalid values: dates, IDs, or codes the system does not accept.
  5. Encrypted with the wrong key or not encrypted when it should be.
  6. Sent to the wrong folder or at the wrong time.

Checking these first resolves most inbound file problems.

X12 EDI standards ↗ GoAnywhere resources — Fortra ↗ GoAnywhere user forum ↗ Checked Jul 2026
ProcessHIPAA basics for support staff
  1. PHI is any health information that can identify a person.
  2. Use the minimum necessary to do the task.
  3. Only access records you have a reason to access; access is logged.
  4. Encrypt PHI in transit and at rest; use approved tools only.
  5. Report lost devices, misdirected files, or suspected breaches immediately.
  6. Do not take PHI home or put it in personal email or cloud accounts.

Short rules that keep day-to-day work compliant.

HIPAA Security Rule — HHS ↗ HIPAA Privacy Rule — HHS ↗ Breach notification — HHS ↗ Checked Jul 2026
Common issue walkthrough

A file was rejected

  1. Check the acknowledgement (999/TA1).
  2. Check name, structure, and values.
  3. Fix and resend through the approved path.
  4. Document the reason.
Inspiring Lists
ProcessInspiring Lists — SysOps/DevOps
  1. Awesome Sysadmin ↗ — amazingly awesome open source sysadmin resources
  2. Awesome Shell ↗ — awesome command-line frameworks, toolkits, guides and gizmos
  3. Command-line-text-processing ↗ — finding text to search and replace, sorting to beautifying, and more
  4. Awesome Pcaptools ↗ — collection of tools developed by other researchers to process network traces
  5. awesome-ebpf ↗ — a curated list of awesome projects related to eBPF
  6. Linux Network Performance ↗ — where some of the network sysctl variables fit into the Linux/Kernel network flow
  7. Awesome Postgres ↗ — list of awesome PostgreSQL software, libraries, tools and resources
  8. quick-SQL-cheatsheet ↗ — a quick reminder of all SQL queries and examples on how to use them
  9. Awesome-Selfhosted ↗ — list of Free Software network services and web applications which can be hosted locally
  10. List of applications ↗ — huge list of apps sorted by category, as a reference for those looking for packages
  11. CS-Interview-Knowledge-Map ↗ — build the best interview map
  12. DevOps-Guide ↗ — DevOps Guide from basic to advanced with Interview Questions and Notes
  13. FreeBSD Journal ↗ — it is a great list of periodical magazines about FreeBSD and other important things
  14. devops-interview-questions ↗ — contains interview questions on various DevOps and SRE related topics

Section "SysOps/DevOps" of the "Inspiring Lists" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Inspiring Lists chapter ↗ Source list — GitHub ↗ Awesome Sysadmin ↗ Checked Jul 2026
ProcessInspiring Lists — Developers
  1. Web Developer Roadmap ↗ — roadmaps, articles and resources to help you choose your path, learn and improve
  2. Front-End-Checklist ↗ — the perfect Front-End Checklist for modern websites and meticulous developers
  3. Front-End-Performance-Checklist ↗ — Front-End Performance Checklist that runs faster than the others
  4. Python's Magic Methods ↗ — what are magic methods? They're everything in object-oriented Python
  5. wtfpython ↗ — a collection of surprising Python snippets and lesser-known features
  6. js-dev-reads ↗ — a list of books and articles for the discerning web developer to read
  7. Commit messages guide ↗ — a guide to understand the importance of commit messages

Section "Developers" of the "Inspiring Lists" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Inspiring Lists chapter ↗ Source list — GitHub ↗ Web Developer Roadmap ↗ Checked Jul 2026
ProcessInspiring Lists — Security/Pentesting
  1. Awesome Web Security ↗ — a curated list of Web Security materials and resources
  2. awesome-cyber-skills ↗ — a curated list of hacking environments where you can train your cyber skills
  3. awesome-devsecops ↗ — an authoritative list of awesome devsecops tools
  4. awesome-osint ↗ — is a curated list of amazingly awesome OSINT
  5. HolyTips ↗ — tips and tutorials on Bug Bounty Hunting and Web App Security
  6. awesome-threat-intelligence ↗ — a curated list of Awesome Threat Intelligence resources
  7. Red-Teaming-Toolkit ↗ — a collection of open source and commercial tools that aid in red team operations
  8. awesome-burp-extensions ↗ — a curated list of amazingly awesome Burp Extensions
  9. Free Security eBooks ↗ — list of a Free Security and Hacking eBooks
  10. Hacking-Security-Ebooks ↗ — top 100 Hacking & Security E-Books
  11. privacy-respecting ↗ — curated list of privacy respecting services and software
  12. reverse-engineering ↗ — list of awesome reverse engineering resources
  13. linux-re-101 ↗ — a collection of resources for linux reverse engineering
  14. reverseengineering-reading-list ↗ — a list of Reverse Engineering articles, books, and papers
  15. Awesome-WAF ↗ — a curated list of awesome web-app firewall (WAF) stuff
  16. awesome-shodan-queries ↗ — interesting, funny, and depressing search queries to plug into shodan.io
  17. RobotsDisallowed ↗ — a curated list of the most common and most interesting robots.txt disallowed directories
  18. HackingNeuralNetworks ↗ — is a small course on exploiting and defending neural networks
  19. wildcard-certificates ↗ — why you probably shouldn't use a wildcard certificate
  20. Don't use VPN services ↗ — which is what every third-party "VPN provider" does
  21. awesome-yara ↗ — a curated list of awesome YARA rules, tools, and people
  22. macOS-Security-and-Privacy-Guide ↗ — guide to securing and improving privacy on macOS
  23. macos_security ↗ — macOS Security Compliance Project
  24. awesome-sec-talks ↗ — is a collected list of awesome security talks
  25. Movies for Hackers ↗ — list of movies every hacker & cyberpunk must watch
  26. Cryptography_1 ↗ — materials used whilst taking Prof. Dan Boneh Stanford Crypto course
  27. Crypton ↗ — library to learn and practice Offensive and Defensive Cryptography

Section "Security/Pentesting" of the "Inspiring Lists" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Inspiring Lists chapter ↗ Source list — GitHub ↗ Awesome Web Security ↗ Checked Jul 2026
ProcessInspiring Lists — Other
  1. Cheatography ↗ — over 3,000 free cheat sheets, revision aids and quick references
  2. awesome-static-analysis ↗ — static analysis tools for all programming languages
  3. computer-science ↗ — path to a free self-taught education in Computer Science
  4. post-mortems ↗ — is a collection of postmortems (config errors, hardware failures, and more)
  5. build-your-own-x ↗ — build your own (insert technology here)
  6. Project-Based-Tutorials-in-C ↗ — is a curated list of project-based tutorials in C
  7. The-Documentation-Compendium ↗ — various README templates & tips on writing high-quality documentation
  8. awesome-python-applications ↗ — free software that works great, and also happens to be open-source Python
  9. awesome-public-datasets ↗ — a topic-centric list of HQ open datasets
  10. machine-learning-algorithms ↗ — a curated list of all machine learning algorithms and concepts

Section "Other" of the "Inspiring Lists" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Inspiring Lists chapter ↗ Source list — GitHub ↗ Cheatography ↗ Checked Jul 2026
Common issue walkthrough

Find a tool in the "Inspiring Lists" chapter

  1. Open the matching section below.
  2. Open the tool link and read its README or manual.
  3. Test it on a lab or non-production system first.
  4. Record what you used in the ticket or change note.
KnowBe4 Security Awareness
SafeCheck AD/Entra sync group membership
Get-ADGroupMember "KnowBe4 Sync" | select Name,SamAccountName

KnowBe4 usually provisions users via an AD/Entra group sync — a user missing training assignments is often a sync-group membership issue, not a KnowBe4 problem.

Confirms whether a user is actually in the directory group that feeds KnowBe4's user sync before troubleshooting further in the KnowBe4 console.

Get-ADGroupMember — Microsoft Learn ↗ KnowBe4 API reference ↗ KnowBe4 Support ↗ Checked Jul 2026
SafeLook up a user's training/phishing status via API
Invoke-RestMethod -Uri "https://us.api.knowbe4.com/v1/users/<id>/training_enrollments" `
  -Headers @{Authorization="Bearer $knowbe4Token"}

Requires a KnowBe4 API key (Account Settings > API in the console). Region subdomain varies (us/eu/ca).

Returns a user's assigned training campaigns and completion status without needing to click through the console UI.

KnowBe4 API reference ↗ Get-ADGroupMember — Microsoft Learn ↗ KnowBe4 Support ↗ Checked Jul 2026
Minor changeEnroll a user in remedial training
Invoke-RestMethod -Method Post -Uri "https://us.api.knowbe4.com/v1/training/enrollments" `
  -Headers @{Authorization="Bearer $knowbe4Token"} -Body $enrollmentJson

Typically triggered after a user fails a phishing security test — most orgs automate this via a KnowBe4 workflow rather than calling the API by hand.

Programmatically assigns a training module to a user — useful for scripting bulk remediation after a phishing campaign.

KnowBe4 API reference ↗ Get-ADGroupMember — Microsoft Learn ↗ KnowBe4 Support ↗ Checked Jul 2026
Common issue walkthrough

User not receiving phishing simulations or training

  1. Confirm they're in the AD/Entra sync group.
  2. Check enrollment status via the API's training_enrollments endpoint.
  3. If missing from sync, add them and wait for the next sync cycle (usually daily).

User failed a phishing test

  1. Confirm the failure event in the KnowBe4 console/API.
  2. Enroll them in the assigned remedial training.
  3. Track completion and follow your org's escalation policy for repeat failures.
Local Users / Local Admin
SafeBaseline check
Get-LocalUser | ft Name,Enabled,LastLogon -Auto
Get-LocalGroupMember Administrators
net accounts

Get-LocalUser/Get-LocalGroupMember list local accounts and admins — the fastest way to audit who has local admin on a machine.

Get-LocalGroupMember — Microsoft Learn ↗ New-LocalUser — Microsoft Learn ↗ Privileged accounts and groups — Microsoft Learn ↗ Checked Jul 2026
Big changeCreate / grant / remove local admin
$pw=Read-Host "Password" -AsSecureString
New-LocalUser "SupportAdmin" -Password $pw -FullName "Support Admin"
Add-LocalGroupMember -Group Administrators -Member SupportAdmin
Remove-LocalGroupMember -Group Administrators -Member SupportAdmin

Never use a blank password. Confirm no access loss before removing.

Creating or granting local admin is a significant security change — never use a blank password, and confirm scope before adding to Administrators.

New-LocalUser — Microsoft Learn ↗ Get-LocalGroupMember — Microsoft Learn ↗ Privileged accounts and groups — Microsoft Learn ↗ Checked Jul 2026
Big changeCreate a local admin with net.exe
net user <Username> <Password> /add
net localgroup administrators <Username> /add

The CMD/net.exe equivalent of New-LocalUser + Add-LocalGroupMember — useful when you're in a plain command prompt (e.g. WinRE, a locked-down remote session) without PowerShell's local-account module available.

Same security considerations as the PowerShell version: use a strong password, and remove the account or its admin rights once the task is done.

net user — Microsoft Learn ↗ Get-LocalGroupMember — Microsoft Learn ↗ New-LocalUser — Microsoft Learn ↗ Checked Jul 2026
Big changeGrant a Microsoft Entra user local admin rights
net localgroup administrators /add "AzureAD\UserEmail@domain.com"

Works on Entra-joined (Azure AD joined) machines — adds a cloud identity directly to the local Administrators group instead of creating a separate local account. Confirm the device is actually Entra-joined first (dsregcmd /status).

The standard way to give a specific user standing local admin on an Entra-joined device without going through the broader "Azure AD joined device local admin" tenant-wide setting.

Manage local admin on Entra-joined devices — Microsoft Learn ↗ Get-LocalGroupMember — Microsoft Learn ↗ New-LocalUser — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Unexpected account has local admin rights

  1. Audit current membership: Get-LocalGroupMember Administrators.
  2. Confirm whether the account should have that right against ticket/approval history.
  3. Remove if unauthorized: Remove-LocalGroupMember.
  4. Document as a security finding if the addition wasn't authorized.

Need temporary local admin for a support task

  1. Create a scoped account with a strong password: New-LocalUser.
  2. Grant admin only for the task: Add-LocalGroupMember.
  3. Remove the account/rights immediately after the task — don't leave standing access.
Microsoft 365 Anti-Spam & Quarantine
ProcessReview anti-spam policies
  1. Open the Microsoft Defender portal.
  2. Go to Email & collaboration > Policies & rules > Threat policies > Anti-spam.
  3. Open the inbound policy and review allowed/blocked senders and actions.
  4. Make changes, save, and allow time for them to apply.

Anti-spam policies decide what happens to spam, high-confidence spam, and phishing.

Configure anti-spam policies — Microsoft Learn ↗ Anti-spam protection — Microsoft Learn ↗ Quarantine — Microsoft Learn ↗ Checked Jul 2026
ProcessRelease a message from M365 quarantine
  1. Open Email & collaboration > Review > Quarantine.
  2. Search by sender, recipient, or subject.
  3. Select the message > Release (or Preview first).
  4. Optionally report it as a false positive to Microsoft.

Admins can release quarantined messages to the intended recipients.

Manage quarantined messages — Microsoft Learn ↗ Anti-spam protection — Microsoft Learn ↗ Quarantine — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Legit mail went to quarantine

  1. Find it in Quarantine.
  2. Release it.
  3. Add the sender to the tenant allow list if it keeps happening, after confirming it is safe.
Registry / Local Policy / Defender
SafeRead policy & Defender state
reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI"
Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"
Get-MpPreference | fl DisableRealtimeMonitoring,ExclusionPath,ExclusionProcess
Get-MpComputerStatus
Get-MpThreatDetection

Defender preference and status cmdlets show real-time protection state, exclusions, and recent threat detections.

Get-MpPreference — Microsoft Learn ↗ Add-MpPreference — Microsoft Learn ↗ gpresult — Microsoft Learn ↗ Checked Jul 2026
SafeFirewall & group policy state
netsh advfirewall show allprofiles
Get-NetFirewallProfile
gpresult /h report.html
gpresult /r

Windows Firewall profile state and a Group Policy result report (RSoP) are the standard baseline for a policy-not-applying ticket.

Get-NetFirewallProfile — Microsoft Learn ↗ Get-MpPreference — Microsoft Learn ↗ Add-MpPreference — Microsoft Learn ↗ Checked Jul 2026
Minor changeChange a value / add an exclusion
reg export "HKCU\Software\..." "$env:USERPROFILE\Desktop\backup.reg" /y   # back up first
Set-ItemProperty "HKCU:\Software\..." -Name SomeValue -Value 0
Add-MpPreference -ExclusionPath "C:\Path\App"
gpupdate /force

Defender exclusions are security-impacting — document approval.

Defender exclusions and registry value changes are security-impacting — back up the key and document approval before changing.

Add-MpPreference — Microsoft Learn ↗ Get-MpPreference — Microsoft Learn ↗ gpresult — Microsoft Learn ↗ Checked Jul 2026
SafeFailed logons & account lockouts
Get-WinEvent -LogName Security -MaxEvents 50 | Where-Object {$_.Id -eq 4625}
Get-ADUser <username> -Properties LockedOut,BadLogonCount

Event ID 4625 in the Security log is a failed logon — the standard first signal for a lockout or brute-force investigation.

Get-WinEvent — Microsoft Learn ↗ Get-MpPreference — Microsoft Learn ↗ Add-MpPreference — Microsoft Learn ↗ Checked Jul 2026
Minor changeUnlock account
Unlock-ADAccount -Identity <username>

Unlock-ADAccount clears the lockout flag in AD — the account will re-lock immediately if the bad-password source is still retrying.

Unlock-ADAccount — Microsoft Learn ↗ Get-MpPreference — Microsoft Learn ↗ Add-MpPreference — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Defender blocking a legitimate app

  1. Confirm Defender is the cause via Get-MpThreatDetection.
  2. Add a scoped exclusion — a specific path or process, not a whole drive.
  3. Document the exclusion and get security sign-off, since exclusions are a standing risk.

Group Policy setting not taking effect

  1. Check RSoP for the machine: gpresult /h report.html.
  2. Force a refresh: gpupdate /force.
  3. If still not applying, check GPO link/enforcement/security filtering at the OU.
Risk Assessment Basics
ProcessRun a basic risk assessment
  1. Identify assets and their value.
  2. Identify threats and vulnerabilities for each asset.
  3. Estimate likelihood and impact.
  4. Evaluate how well existing safeguards reduce the risk.
  5. Rank the risks and recommend actions.

A risk assessment is a point-in-time snapshot used to support decisions and judge control effectiveness; risk management is the continuous process around it.

NIST SP 800-30 Rev. 1 ↗ NIST Risk Management Framework ↗ OWASP Risk Rating ↗ Checked Jul 2026
ProcessCommon critical areas to check
  1. Single points of failure, such as one web server.
  2. Database servers exposed to SQL injection.
  3. Internal firewalls and segmentation.
  4. Backup and recovery of each of the above.

Typical high-value places to look first.

NIST SP 800-30 Rev. 1 ↗ NIST Risk Management Framework ↗ OWASP Risk Rating ↗ Checked Jul 2026
Common issue walkthrough

Quick assessment

  1. List assets.
  2. Mark threats per asset.
  3. Score and rank.
  4. Document recommendations.
Security Incident Response
SafeReview sign-in activity for a suspected account
Get-MgAuditLogSignIn -Filter "userPrincipalName eq 'user@domain.com'" -Top 25 |
  select CreatedDateTime,IpAddress,Location,AppDisplayName,Status

Look for impossible-travel logins, unfamiliar IPs/countries, or sign-ins to apps the user doesn't normally use.

Pulls Entra ID sign-in log entries for one user — the first step in confirming whether an account is actually compromised.

Get-MgAuditLogSignIn — Microsoft Learn ↗ Incident response overview — Microsoft Learn ↗ Revoke-MgUserSignInSession — Microsoft Learn ↗ Checked Jul 2026
Big changeContain a compromised account
Revoke-MgUserSignInSession -UserId user@domain.com
Update-MgUser -UserId user@domain.com -AccountEnabled:$false

Revoking sessions kills active tokens immediately; disabling sign-in stops new ones. Do both together during active compromise.

The standard first containment step: kill existing sessions and block new sign-ins while the investigation continues.

Revoke-MgUserSignInSession — Microsoft Learn ↗ Incident response overview — Microsoft Learn ↗ Update-MgUser — Microsoft Learn ↗ Checked Jul 2026
Big changeForce a password reset
Update-MgUser -UserId user@domain.com -PasswordProfile @{ForceChangePasswordNextSignIn=$true; Password="TempPass!23"}

Also reset/re-register MFA methods from the Entra admin center if the attacker may have added their own authentication method.

Forces the account to set a new password on next sign-in — pair with an MFA method review since a stolen password alone shouldn't be enough to get back in.

Update-MgUser — Microsoft Learn ↗ Incident response overview — Microsoft Learn ↗ Revoke-MgUserSignInSession — Microsoft Learn ↗ Checked Jul 2026
Big changeIsolate a compromised endpoint
Disable-NetAdapter -Name "Ethernet" -Confirm:$false

A blunt local option when EDR-based isolation isn't available — cuts network access while preserving the running system for forensics. Prefer your EDR platform's isolate action when you have one.

Immediately removes network connectivity from a machine without powering it off, keeping volatile evidence intact.

Disable-NetAdapter — Microsoft Learn ↗ Incident response overview — Microsoft Learn ↗ Revoke-MgUserSignInSession — Microsoft Learn ↗ Checked Jul 2026
ProcessData flow — logs to SIEM to incident to ticket
Security data flow: sources feed a SIEM; alerts become incidents, playbooks, and ticketsnormalizealert ruleincidentdocumentEndpoints / EDRFirewalls / networkM365 / Entra logsCollector /connectorsSIEM(Sentinel etc.)Playbook(automation)Analyst triageTicket andreport
Endpoints / EDR↓ → Collector / connectors
Firewalls / network↓ → Collector / connectors
M365 / Entra logs↓ → Collector / connectors
Collector / connectors↓ normalize → SIEM (Sentinel etc.)
SIEM (Sentinel etc.)↓ alert rule → Playbook (automation)↓ incident → Analyst triage
Playbook (automation)
Analyst triage↓ document → Ticket and report
Ticket and report
Security data flow: sources feed a SIEM; alerts become incidents, playbooks, and tickets
  1. Endpoints, firewalls, and cloud services send logs to the SIEM through agents, syslog, or connectors.
  2. The SIEM normalizes the data and runs detection rules to create alerts and incidents.
  3. A playbook can enrich the alert (user, device, IP reputation) and take approved actions.
  4. An analyst triages, contains, and documents the incident in the ticket.
  5. If an alert never fires, check the log source is connected, recent, and parsed correctly.

How security events travel from systems to an analyst and where gaps hide (log sources, parsing, rules).

Microsoft Sentinel overview — Microsoft Learn ↗ NIST SP 800-61 incident handling ↗ Connect data sources — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Confirmed phishing click or credential compromise

  1. Pull sign-in logs for the account: Get-MgAuditLogSignIn.
  2. Revoke sessions and disable sign-in immediately.
  3. Force a password reset and review/reset MFA methods.
  4. Check inbox rules for attacker-added forwarding (see Mail Rules & License Automation).
  5. Document the timeline and notify security/compliance per your incident process.

Suspected malware on an endpoint

  1. Isolate the endpoint from the network (or use your EDR's isolate action).
  2. Preserve evidence — don't reboot or run cleanup tools yet if forensics may be needed.
  3. Pull recent Security, Application, and System event logs for the machine.
  4. Engage EDR/AV for a full scan once evidence is captured.
Unified Audit / Admin Actions / Evidence
SafeSearch & export M365 audit logs
$start=(Get-Date).AddDays(-90); $end=Get-Date
Search-UnifiedAuditLog -StartDate $start -EndDate $end -Operations "Remove member from role" -ResultSize 5000
Search-UnifiedAuditLog -StartDate $start -EndDate $end -UserIds user@domain.com -ResultSize 5000

Good for GA-removal / admin-action investigations, and proving whether a user was target or actor.

Search-UnifiedAuditLog queries the M365 audit trail — the standard evidence source for "who changed/removed what, and when" investigations.

Search-UnifiedAuditLog — Microsoft Learn ↗ Audit log search overview — Microsoft Learn ↗ Get-AdminAuditLogConfig — Microsoft Learn ↗ Checked Jul 2026
SafeExpand & export detail
$logs | select CreationDate,Operations,UserIds,@{n="Audit";e={$_.AuditData | ConvertFrom-Json}}
$logs | Export-Csv "$env:USERPROFILE\Desktop\AuditExport.csv" -NoTypeInformation
Get-AdminAuditLogConfig | fl *

AuditData is a JSON blob — expanding it with ConvertFrom-Json is usually where the actual target/actor details live.

Search-UnifiedAuditLog — Microsoft Learn ↗ Audit log search overview — Microsoft Learn ↗ Get-AdminAuditLogConfig — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Need to prove who made an admin change

  1. Search around the change window: Search-UnifiedAuditLog.
  2. Expand AuditData to find the actor, target, and exact values changed.
  3. Export to CSV and attach it to the ticket or incident record.

Audit log search returns nothing

  1. Confirm audit logging is enabled: Get-AdminAuditLogConfig.
  2. Widen the date range — some event types can lag up to 24 hours.
  3. Broaden or drop the -Operations filter and search all activity for the UserIds instead.
Web Tools
ProcessWeb Tools — Browsers
  1. SSL/TLS Capabilities of Your Browser ↗ — test your browser's SSL implementation
  2. Can I use ↗ — provides up-to-date browser support tables for support of front-end web technologies
  3. Panopticlick 3.0 ↗ — is your browser safe against tracking?
  4. Privacy Analyzer ↗ — see what data is exposed from your browser
  5. Web Browser Security ↗ — it's all about Web Browser fingerprinting
  6. How's My SSL? ↗ — help a web server developer learn what real world TLS clients were capable of
  7. sslClientInfo ↗ — client test (incl TLSv1.3 information)

Section "Browsers" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ SSL/TLS Capabilities of Your Browser ↗ Checked Jul 2026
ProcessWeb Tools — SSL/Security
  1. SSLLabs Server Test ↗ — performs a deep analysis of the configuration of any SSL web server
  2. SSLLabs Server Test (DEV) ↗ — performs a deep analysis of the configuration of any SSL web server
  3. ImmuniWeb® SSLScan ↗ — test SSL/TLS (PCI DSS, HIPAA and NIST)
  4. SSL Check ↗ — scan your website for non-secure content
  5. SSL Scanner ↗ — analyze website security
  6. CryptCheck ↗ — test your TLS server configuration (e.g. ciphers)
  7. urlscan.io ↗ — service to scan and analyse websites
  8. Report URI ↗ — monitoring security policies like CSP and HPKP
  9. CSP Evaluator ↗ — allows developers and security experts to check if a Content Security Policy
  10. Useless CSP ↗ — public list about CSP in some big players (might make them care a bit more)
  11. Why No HTTPS? ↗ — top 100 websites by Alexa rank not automatically redirecting insecure requests
  12. TLS Cipher Suite Search ↗ — cipher suite search engine
  13. cipherli.st ↗ — strong ciphers for Apache, Nginx, Lighttpd, and more.*
  14. dhtool ↗ — public Diffie-Hellman parameter service/tool
  15. badssl.com ↗ — memorable site for testing clients against bad SSL configs
  16. tlsfun.de ↗ — registered for various tests regarding the TLS/SSL protocol
  17. CAA Record Helper ↗ — generate a CAA policy
  18. Common CA Database ↗ — repository of information about CAs, and their root and intermediate certificates
  19. CERTSTREAM ↗ — real-time certificate transparency log update stream
  20. crt.sh ↗ — discovers certificates by continually monitoring all of the publicly known CT
  21. Hardenize ↗ — deploy the security standards
  22. Cipher suite compatibility ↗ — test TLS cipher suite compatibility
  23. urlvoid ↗ — this service helps you detect potentially malicious websites
  24. security.txt ↗ — a proposed standard (generator) which allows websites to define security policies
  25. ssl-config-generator ↗ — help you follow the Mozilla Server Side TLS configuration guidelines
  26. TLScan ↗ — pure python, SSL/TLS protocol and cipher scanner/enumerator

Section "SSL/Security" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ SSLLabs Server Test ↗ Checked Jul 2026
ProcessWeb Tools — HTTP Headers & Web Linters
  1. Security Headers ↗ — analyse the HTTP response headers (with rating system to the results)
  2. Observatory by Mozilla ↗ — set of tools to analyze your website
  3. webhint ↗ — is a linting tool that will help you with your site's accessibility, speed, security, and more

Section "HTTP Headers & Web Linters" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ Security Headers ↗ Checked Jul 2026
ProcessWeb Tools — DNS
  1. ViewDNS ↗ — one source for free DNS related tools and information
  2. DNSLookup ↗ — is an advanced DNS lookup tool
  3. DNSlytics ↗ — online DNS investigation tool
  4. DNS Spy ↗ — monitor, validate and verify your DNS configurations
  5. Zonemaster ↗ — helps you to control how your DNS works
  6. Leaf DNS ↗ — comprehensive DNS tester
  7. Find subdomains online ↗ — find subdomains for security assessment penetration test
  8. DNSdumpster ↗ — dns recon & research, find & lookup dns records
  9. DNS Table online ↗ — search for DNS records by domain, IP, CIDR, ISP
  10. intoDNS ↗ — DNS and mail server health checker
  11. DNS Bajaj ↗ — check the delegation of your domain
  12. BuddyDNS Delegation LAB ↗ — check, trace and visualize delegation of your domain
  13. dnssec-debugger ↗ — DS or DNSKEY records validator
  14. PTRarchive.com ↗ — this site is responsible for the safekeeping of historical reverse DNS records
  15. xip.io ↗ — wildcard DNS for everyone
  16. nip.io ↗ — dead simple wildcard DNS for any IP Address
  17. dnslookup (ceipam) ↗ — one of the best DNS propagation checker (and not only)
  18. What's My DNS ↗ — DNS propagation checking tool
  19. DNSGrep ↗ — quickly searching large DNS datasets

Section "DNS" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ ViewDNS ↗ Checked Jul 2026
ProcessWeb Tools — Mail
  1. smtp-tls-checker ↗ — check an email domain for SMTP TLS support
  2. MX Toolbox ↗ — all of your MX record, DNS, blacklist and SMTP diagnostics in one integrated tool
  3. Secure Email ↗ — complete email test tools for email technicians
  4. blacklistalert ↗ — checks to see if your domain is on a Real Time Spam Blacklist
  5. MultiRBL ↗ — complete IP check for sending Mailservers
  6. DKIM SPF & Spam Assassin Validator ↗ — checks mail authentication and scores messages with Spam Assassin

Section "Mail" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ smtp-tls-checker ↗ Checked Jul 2026
ProcessWeb Tools — Encoders/Decoders and Regex testing
  1. URL Encode/Decode ↗ — tool from above to either encode or decode a string of text
  2. Uncoder ↗ — the online translator for search queries on log data
  3. Regex101 ↗ — online regex tester and debugger: PHP, PCRE, Python, Golang and JavaScript
  4. RegExr ↗ — online tool to learn, build, & test Regular Expressions (RegEx / RegExp)
  5. RegEx Testing ↗ — online regex testing tool
  6. RegEx Pal ↗ — online regex testing tool + other tools
  7. The Cyber Swiss Army Knife ↗ — a web app for encryption, encoding, compression and data analysis

Section "Encoders/Decoders and Regex testing" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ URL Encode/Decode ↗ Checked Jul 2026
ProcessWeb Tools — Net-tools
  1. Netcraft ↗ — detailed report about the site, helping you to make informed choices about their integrity.*
  2. RIPE NCC Atlas ↗ — a global, open, distributed Internet measurement platform
  3. Robtex ↗ — uses various sources to gather public information about IP numbers, domain names, host names, etc
  4. Security Trails ↗ — APIs for Security Companies, Researchers and Teams
  5. Online Curl ↗ — curl test, analyze HTTP Response Headers
  6. Online Tools for Developers ↗ — HTTP API tools, testers, encoders, converters, formatters, and other tools
  7. Ping.eu ↗ — online Ping, Traceroute, DNS lookup, WHOIS and others
  8. Network-Tools ↗ — network tools for webmasters, IT technicians & geeks
  9. BGPview ↗ — search for any ASN, IP, Prefix or Resource name
  10. Is BGP safe yet? ↗ — check BGP (RPKI) security of ISPs and other major Internet players
  11. Riseup ↗ — provides online communication tools for people and groups working on liberatory social change
  12. VirusTotal ↗ — analyze suspicious files and URLs to detect types of malware

Section "Net-tools" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ Netcraft ↗ Checked Jul 2026
ProcessWeb Tools — Privacy
  1. privacyguides.org ↗ — provides knowledge and tools to protect your privacy against global mass surveillance
  2. DNS Privacy Test Servers ↗ — DNS privacy recursive servers list (with a 'no logging' policy)

Section "Privacy" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ privacyguides.org ↗ Checked Jul 2026
ProcessWeb Tools — Code parsers/playgrounds
  1. ShellCheck ↗ — finds bugs in your shell scripts
  2. explainshell ↗ — get interactive help texts for shell commands
  3. jsbin ↗ — live pastebin for HTML, CSS & JavaScript, and more
  4. CodeSandbox ↗ — online code editor for web application development
  5. PHP Sandbox ↗ — test your PHP code with this code tester
  6. Repl.it ↗ — an instant IDE to learn, build, collaborate, and host all in one place
  7. vclFiddle ↗ — is an online tool for experimenting with the Varnish Cache VCL
  8. Haskell Dockerfile Linter ↗ — a smarter Dockerfile linter that helps you build best practice Docker images

Section "Code parsers/playgrounds" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ ShellCheck ↗ Checked Jul 2026
ProcessWeb Tools — Performance
  1. GTmetrix ↗ — analyze your site’s speed and make it faster
  2. Sucuri loadtimetester ↗ — test here the
  3. Pingdom Tools ↗ — analyze your site’s speed around the world
  4. PingMe.io ↗ — run website latency tests across multiple geographic regions
  5. PageSpeed Insights ↗ — analyze your site’s speed and make it faster
  6. web.dev ↗ — helps developers like you learn and apply the web's modern capabilities to your own sites and apps
  7. Lighthouse ↗ — automated auditing, performance metrics, and best practices for the web

Section "Performance" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ GTmetrix ↗ Checked Jul 2026
ProcessWeb Tools — Mass scanners (search engines)
  1. Censys ↗ — platform that helps information security practitioners discover, monitor, and analyze devices
  2. Shodan ↗ — the world's first search engine for Internet-connected devices
  3. Shodan 2000 ↗ — this tool looks for randomly generated data from Shodan
  4. GreyNoise ↗ — mass scanner such as Shodan and Censys
  5. ZoomEye ↗ — search engine for cyberspace that lets the user find specific network components
  6. netograph ↗ — tools to monitor and understand deep structure of the web
  7. FOFA ↗ — is a cyberspace search engine
  8. onyphe ↗ — is a search engine for open-source and cyber threat intelligence data collected
  9. IntelligenceX ↗ — is a search engine and data archive
  10. binaryedge ↗ — it scan the entire internet space and create real-time threat intelligence streams and reports
  11. Spyse ↗ — Internet assets registry: networks, threats, web objects, etc
  12. wigle ↗ — is a submission-based catalog of wireless networks. All the networks. Found by Everyone
  13. PublicWWW ↗ — find any alphanumeric snippet, signature or keyword in the web pages HTML, JS and CSS code
  14. IntelTechniques ↗ — this repository contains hundreds of online search utilities
  15. hunter ↗ — lets you find email addresses in seconds and connect with the people that matter for your business
  16. GhostProject? ↗ — search by full email address or username
  17. databreaches ↗ — was my email affected by data breach?
  18. We Leak Info ↗ — world's fastest and largest data breach search engine
  19. Pulsedive ↗ — scans of malicious URLs, IPs, and domains, including port scans and web requests
  20. Buckets by Grayhatwarfar ↗ — database with public search for Open Amazon S3 Buckets and their contents
  21. Vigilante.pw ↗ — the breached database directory
  22. builtwith ↗ — find out what websites are built with
  23. NerdyData ↗ — search the web's source code for technologies, across millions of sites
  24. zorexeye ↗ — search for sites, images, apps, softwares & more
  25. Mamont's open FTP Index ↗ — if a target has an open FTP site with accessible content it will be listed here
  26. OSINT Framework ↗ — focused on gathering information from free tools or resources
  27. maltiverse ↗ — is a service oriented to cybersecurity analysts
  28. Leaked Source ↗ — is a collaboration of data found online in the form of a lookup
  29. We Leak Info ↗ — to help everyday individuals secure their online life, avoiding getting hacked
  30. pipl ↗ — is the place to find the person behind the email address, social username or phone number
  31. abuse.ch ↗ — is operated by a random swiss guy fighting malware for non-profit
  32. malc0de ↗ — malware search engine
  33. Cybercrime Tracker ↗ — monitors and tracks various malware families that are used to perpetrate cyber crimes
  34. shhgit ↗ — find GitHub secrets in real time
  35. searchcode ↗ — helping you find real world examples of functions, API's and libraries
  36. Insecam ↗ — the world biggest directory of online surveillance security cameras
  37. index-of ↗ — contains great stuff like: security, hacking, reverse engineering, cryptography, programming etc
  38. Rapid7 Labs Open Data ↗ — is a great resources of datasets from Project Sonar
  39. Common Response Headers ↗ — the largest database of HTTP response headers
  40. InQuest Labs ↗ — InQuest Labs is an open, interactive, and API driven data portal for security researchers

Section "Mass scanners (search engines)" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ Censys ↗ Checked Jul 2026
ProcessWeb Tools — Generators
  1. thispersondoesnotexist ↗ — generate fake faces in one click - endless possibilities
  2. AI Generated Photos ↗ — 100.000 AI generated faces
  3. fakenamegenerator ↗ — your randomly generated identity
  4. Intigriti Redirector ↗ — open redirect/SSRF payload generator

Section "Generators" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ thispersondoesnotexist ↗ Checked Jul 2026
ProcessWeb Tools — Passwords
  1. have i been pwned? ↗ — check if you have an account that has been compromised in a data breach
  2. dehashed ↗ — is a hacked database search engine
  3. Leaked Source ↗ — is a collaboration of data found online in the form of a lookup

Section "Passwords" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ have i been pwned? ↗ Checked Jul 2026
ProcessWeb Tools — CVE/Exploits databases
  1. CVE Mitre ↗ — list of publicly known cybersecurity vulnerabilities
  2. CVE Details ↗ — CVE security vulnerability advanced database
  3. Exploit DB ↗ — CVE compliant archive of public exploits and corresponding vulnerable software
  4. 0day.today ↗ — exploits market provides you the possibility to buy/sell zero-day exploits
  5. sploitus ↗ — the exploit and tools database
  6. cxsecurity ↗ — free vulnerability database
  7. Vulncode-DB ↗ — is a database for vulnerabilities and their corresponding source code if available
  8. cveapi ↗ — free API for CVE data

Section "CVE/Exploits databases" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ CVE Mitre ↗ Checked Jul 2026
ProcessWeb Tools — Mobile apps scanners
  1. ImmuniWeb® Mobile App Scanner ↗ — test security and privacy of mobile apps (iOS & Android)
  2. Quixxi ↗ — free Mobile App Vulnerability Scanner for Android & iOS
  3. Ostorlab ↗ — analyzes mobile application to identify vulnerabilities and potential weaknesses

Section "Mobile apps scanners" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ ImmuniWeb® Mobile App Scanner ↗ Checked Jul 2026
ProcessWeb Tools — Private Search Engines
  1. Startpage ↗ — the world's most private search engine
  2. searX ↗ — a privacy-respecting, hackable metasearch engine
  3. darksearch ↗ — the 1st real Dark Web search engine
  4. Qwant ↗ — the search engine that respects your privacy
  5. DuckDuckGo ↗ — the search engine that doesn't track you
  6. Swisscows ↗ — privacy safe web search
  7. Disconnect ↗ — the search engine that anonymizes your searches
  8. MetaGer ↗ — the search engine that uses anonymous proxy and hidden Tor branches

Section "Private Search Engines" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ Startpage ↗ Checked Jul 2026
ProcessWeb Tools — Secure Webmail Providers
  1. CounterMail ↗ — online email service, designed to provide maximum security and privacy
  2. Mail2Tor ↗ — is a Tor Hidden Service that allows anyone to send and receive emails anonymously
  3. Tutanota ↗ — is the world's most secure email service and amazingly easy to use
  4. Protonmail ↗ — is the world's largest secure email service, developed by CERN and MIT scientists
  5. Startmail ↗ — private & encrypted email made easy

Section "Secure Webmail Providers" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ CounterMail ↗ Checked Jul 2026
ProcessWeb Tools — Crypto
  1. Keybase ↗ — it's open source and powered by public-key cryptography

Section "Crypto" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ Keybase ↗ Checked Jul 2026
ProcessWeb Tools — PGP Keyservers
  1. SKS OpenPGP Key server ↗ — services for the SKS keyservers used by OpenPGP

Section "PGP Keyservers" of the "Web Tools" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Web Tools chapter ↗ Source list — GitHub ↗ SKS OpenPGP Key server ↗ Checked Jul 2026
Common issue walkthrough

Find a tool in the "Web Tools" chapter

  1. Open the matching section below.
  2. Open the tool link and read its README or manual.
  3. Test it on a lab or non-production system first.
  4. Record what you used in the ticket or change note.
07 Coding & Dev PracticesGit, SDLC, CI/CD, testing, architecture, containers, shell one-liners, cheat sheets, and tutorials
Automation Scripts
ProcessRead and support an existing script
  1. Read the header: purpose, owner, schedule, and inputs/outputs.
  2. Trace the main flow, noting every file, database, and server it touches.
  3. Find the log or output and read the last run.
  4. Run it in a test mode or with a safe parameter if one exists.
  5. Make small, reversible edits; keep the old copy.
  6. Document what you changed and why.

Supporting a script you did not write is mostly careful reading and logging.

GNU Bash manual ↗ PowerShell documentation — Microsoft Learn ↗ Python tutorial ↗ Checked Jul 2026
SafeAIX / UnixAlert if an expected file has not arrived (ksh / bash)
#!/bin/ksh
# check_file.ksh - alert if today's file is missing
DIR=/data/inbound
PATTERN="claims_$(date +%Y%m%d)*.dat"
LOG=/var/log/check_file.log

if ls $DIR/$PATTERN >/dev/null 2>&1; then
    echo "$(date '+%F %T') OK file found" >> $LOG
else
    echo "$(date '+%F %T') MISSING $PATTERN in $DIR" >> $LOG
    echo "File $PATTERN missing in $DIR" | mailx -s "File missing" ops@example.com
    exit 1
fi

A small, readable monitoring script. Always use full paths, log results, and return a non-zero exit code on failure so a scheduler can react.

GNU Bash manual ↗ mailx — IBM AIX ↗ crontab(5) — man7 ↗ Checked Jul 2026
SafeAlert if an expected file has not arrived (PowerShell)
$dir     = '\\server\inbound'
$pattern = "claims_$(Get-Date -Format yyyyMMdd)*.dat"
$log     = 'C:\Logs\check_file.log'

if (Get-ChildItem -Path $dir -Filter $pattern -ErrorAction SilentlyContinue) {
    Add-Content $log "$(Get-Date -f 's') OK file found"
} else {
    Add-Content $log "$(Get-Date -f 's') MISSING $pattern in $dir"
    Send-MailMessage -To ops@example.com -From noreply@example.com -Subject 'File missing' -Body "$pattern missing" -SmtpServer smtp.example.com
    exit 1
}

The same check in PowerShell. Schedule it with Task Scheduler. (Send-MailMessage is deprecated; use your approved mail method where required.)

Get-ChildItem — Microsoft Learn ↗ Task Scheduler — Microsoft Learn ↗ PowerShell documentation — Microsoft Learn ↗ Checked Jul 2026
ProcessScript standards checklist
  1. Header: name, purpose, owner, date, and change history.
  2. Parameters instead of hard-coded server names, paths, and passwords.
  3. No passwords or PHI in the script or logs; use a vault or protected store.
  4. Log start, end, and errors with timestamps.
  5. Exit codes: 0 success, non-zero failure.
  6. Test on non-production first and keep a rollback copy.
  7. Schedule through the approved scheduler (Maestro, cron, Task Scheduler).

Habits that make scripts safe to support.

GNU Bash manual ↗ PowerShell scripting — Microsoft Learn ↗ HIPAA Security Rule — HHS ↗ Checked Jul 2026
Common issue walkthrough

A scheduled script did not run

  1. Check the scheduler status and log.
  2. Run it by hand and read the output.
  3. Check paths, permissions, and the user account.
  4. Fix and retest.
Containers & Orchestration
ProcessContainers/Orchestration — CLI Tools
  1. gvisor ↗ — container runtime sandbox
  2. ctop ↗ — top-like interface for container metrics

Section "CLI Tools" of the "Containers/Orchestration" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Containers/Orchestration chapter ↗ Source list — GitHub ↗ gvisor ↗ Checked Jul 2026
ProcessContainers/Orchestration — Web Tools
  1. Moby ↗ — a collaborative project for the container ecosystem to assemble container-based system
  2. Traefik ↗ — open source reverse proxy/load balancer provides easier integration with Docker and Let's encrypt
  3. kong ↗ — The Cloud-Native API Gateway
  4. rancher ↗ — complete container management platform
  5. portainer ↗ — making Docker management easy
  6. nginx-proxy ↗ — automated nginx proxy for Docker containers using docker-gen
  7. bunkerized-nginx ↗ — nginx docker image "secure by default"

Section "Web Tools" of the "Containers/Orchestration" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Containers/Orchestration chapter ↗ Source list — GitHub ↗ Moby ↗ Checked Jul 2026
ProcessContainers/Orchestration — Security
  1. docker-bench-security ↗ — checks for dozens of common best-practices around deploying Docker
  2. trivy ↗ — vulnerability scanner for containers, suitable for CI
  3. Harbor ↗ — cloud native registry project that stores, signs, and scans content
  4. Houdini ↗ — hundreds of offensive and useful docker images for network intrusion

Section "Security" of the "Containers/Orchestration" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Containers/Orchestration chapter ↗ Source list — GitHub ↗ docker-bench-security ↗ Checked Jul 2026
ProcessContainers/Orchestration — Manuals/Tutorials/Best Practices
  1. docker-cheat-sheet ↗ — a quick reference cheat sheet on Docker
  2. awesome-docker ↗ — a curated list of Docker resources and projects
  3. docker_practice ↗ — learn and understand Docker technologies, with real DevOps practice!
  4. dockerfiles ↗ — various Dockerfiles I use on the desktop and on servers
  5. kubernetes-the-hard-way ↗ — bootstrap Kubernetes the hard way on Google Cloud Platform. No scripts
  6. kubernetes-the-easy-way ↗ — bootstrap Kubernetes the easy way on Google Cloud Platform. No scripts
  7. cheatsheet-kubernetes-A4 ↗ — Kubernetes CheatSheets in A4
  8. k8s-security ↗ — kubernetes security notes and best practices
  9. kubernetes-production-best-practices ↗ — checklists with best-practices for production-ready Kubernetes
  10. kubernetes-production-best-practices ↗ — kubernetes security - best practice guide
  11. kubernetes-failure-stories ↗ — is a compilation of public failure/horror stories related to Kubernetes

Section "Manuals/Tutorials/Best Practices" of the "Containers/Orchestration" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Containers/Orchestration chapter ↗ Source list — GitHub ↗ docker-cheat-sheet ↗ Checked Jul 2026
Common issue walkthrough

Find a tool in the "Containers/Orchestration" chapter

  1. Open the matching section below.
  2. Open the tool link and read its README or manual.
  3. Test it on a lab or non-production system first.
  4. Record what you used in the ticket or change note.
Git — Basics
SafeInspect a repository
git status
git log --oneline -10
git diff
git blame <file>
git reflog

Read-only commands to see what changed, who changed a line, and recent branch moves (reflog can recover "lost" commits).

Git documentation ↗ Pro Git book ↗ Checked Jul 2026
Minor changeUndo or park changes
git restore <file>          # discard unstaged edits to a file
git restore --staged <file> # unstage
git stash                   # park work in progress
git stash pop               # bring it back
git revert <commit>         # safe undo by new commit

git restore <file> permanently discards uncommitted edits.

Restore and revert are the safe ways to undo. Avoid reset --hard on shared branches.

git restore ↗ git stash ↗ Pro Git book ↗ Git documentation ↗ Checked Jul 2026
SafeFind the commit that broke something
git bisect start
git bisect bad            # current commit is broken
git bisect good <commit>  # last known good
# test, then mark good/bad until it names the commit
git bisect reset

Binary-searches history to locate the commit that introduced a bug.

git bisect ↗ Pro Git book ↗ Git documentation ↗ Checked Jul 2026
Common issue walkthrough

A change broke the app

  1. Use git log and git diff to see recent changes.
  2. Use git bisect to find the exact commit.
  3. Revert it with git revert and test.
Manuals, Howtos & Tutorials
ProcessManuals/Howtos/Tutorials — Shell/Command line
  1. pure-bash-bible ↗ — is a collection of pure bash alternatives to external processes
  2. pure-sh-bible ↗ — is a collection of pure POSIX sh alternatives to external processes
  3. bash-guide ↗ — is a guide to learn bash
  4. bash-handbook ↗ — for those who wanna learn Bash
  5. The Bash Hackers Wiki ↗ — hold documentation of any kind about GNU Bash
  6. Shell & Utilities ↗ — describes the commands offered to application programs by POSIX-conformant systems
  7. the-art-of-command-line ↗ — master the command line, in one page
  8. Shell Style Guide ↗ — a shell style guide for Google-originated open-source projects

Section "Shell/Command line" of the "Manuals/Howtos/Tutorials" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Manuals/Howtos/Tutorials chapter ↗ Source list — GitHub ↗ pure-bash-bible ↗ Checked Jul 2026
ProcessManuals/Howtos/Tutorials — Text Editors
  1. Vim Cheat Sheet ↗ — great multi language vim guide

Section "Text Editors" of the "Manuals/Howtos/Tutorials" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Manuals/Howtos/Tutorials chapter ↗ Source list — GitHub ↗ Vim Cheat Sheet ↗ Checked Jul 2026
ProcessManuals/Howtos/Tutorials — Python
  1. Awesome Python ↗ — a curated list of awesome Python frameworks, libraries, software and resources
  2. python-cheatsheet ↗ — comprehensive Python cheatsheet
  3. pythoncheatsheet.org ↗ — basic reference for beginner and advanced developers

Section "Python" of the "Manuals/Howtos/Tutorials" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Manuals/Howtos/Tutorials chapter ↗ Source list — GitHub ↗ Awesome Python ↗ Checked Jul 2026
ProcessManuals/Howtos/Tutorials — Sed & Awk & Other
  1. F’Awk Yeah! ↗ — advanced sed and awk usage (Parsing for Pentesters 3)

Section "Sed & Awk & Other" of the "Manuals/Howtos/Tutorials" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Manuals/Howtos/Tutorials chapter ↗ Source list — GitHub ↗ F’Awk Yeah! ↗ Checked Jul 2026
ProcessManuals/Howtos/Tutorials — *nix & Network
  1. nixCraft ↗ — linux and unix tutorials for new and seasoned sysadmin
  2. TecMint ↗ — the ideal Linux blog for Sysadmins & Geeks
  3. Omnisecu ↗ — free Networking, System Administration and Security tutorials
  4. linux-cheat ↗ — Linux tutorials and cheatsheets. Minimal examples. Mostly user-land CLI utilities
  5. linuxupskillchallenge ↗ — learn the skills required to sysadmin
  6. Unix Toolbox ↗ — Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users
  7. Linux Kernel Teaching ↗ — is a collection of lectures and labs Linux kernel topics
  8. htop explained ↗ — explanation of everything you can see in htop/top on Linux
  9. Linux Guide and Hints ↗ — tutorials on system administration in Fedora and CentOS
  10. strace-little-book ↗ — a little book which introduces strace
  11. linux-tracing-workshop ↗ — examples and hands-on labs for Linux tracing tools workshops
  12. http2-explained ↗ — a detailed document explaining and documenting HTTP/2
  13. http3-explained ↗ — a document describing the HTTP/3 and QUIC protocols
  14. HTTP/2 in Action ↗ — an excellent introduction to the new HTTP/2 standard
  15. Let's code a TCP/IP stack ↗ — great stuff to learn network and system programming at a deeper level
  16. Nginx Admin's Handbook ↗ — how to improve NGINX performance, security and other important things
  17. nginxconfig.io ↗ — NGINX config generator on steroids
  18. openssh guideline ↗ — is to help operational teams with the configuration of OpenSSH server and client
  19. SSH Handshake Explained ↗ — is a relatively brief description of the SSH handshake
  20. ISC's Knowledgebase ↗ — you'll find some general information about BIND 9, ISC DHCP, and Kea DHCP
  21. PacketLife.net ↗ — a place to record notes while studying for Cisco's CCNP certification

Section "*nix & Network" of the "Manuals/Howtos/Tutorials" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Manuals/Howtos/Tutorials chapter ↗ Source list — GitHub ↗ nixCraft ↗ Checked Jul 2026
ProcessManuals/Howtos/Tutorials — Microsoft
  1. AD-Attack-Defense ↗ — attack and defend active directory using modern post exploitation activity

Section "Microsoft" of the "Manuals/Howtos/Tutorials" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Manuals/Howtos/Tutorials chapter ↗ Source list — GitHub ↗ AD-Attack-Defense ↗ Checked Jul 2026
ProcessManuals/Howtos/Tutorials — Large-scale systems
  1. The System Design Primer ↗ — learn how to design large-scale systems
  2. Awesome Scalability ↗ — best practices in building High Scalability, High Availability, High Stability, and more
  3. Web Architecture 101 ↗ — the basic architecture concepts

Section "Large-scale systems" of the "Manuals/Howtos/Tutorials" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Manuals/Howtos/Tutorials chapter ↗ Source list — GitHub ↗ The System Design Primer ↗ Checked Jul 2026
ProcessManuals/Howtos/Tutorials — System hardening
  1. CIS Benchmarks ↗ — secure configuration settings for over 100 technologies, available as a free PDF
  2. Security Harden CentOS 7 ↗ — this walks you through the steps required to security harden CentOS
  3. CentOS 7 Server Hardening Guide ↗ — great guide for hardening CentOS; familiar with OpenSCAP
  4. awesome-security-hardening ↗ — is a collection of security hardening guides, tools and other resources
  5. The Practical Linux Hardening Guide ↗ — provides a high-level overview of hardening GNU/Linux systems
  6. Linux Hardening Guide ↗ — how to harden Linux as much as possible for security and privacy

Section "System hardening" of the "Manuals/Howtos/Tutorials" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Manuals/Howtos/Tutorials chapter ↗ Source list — GitHub ↗ CIS Benchmarks ↗ Checked Jul 2026
ProcessManuals/Howtos/Tutorials — Security & Privacy
  1. Hacking Articles ↗ — LRaj Chandel's Security & Hacking Blog
  2. AWS security tools ↗ — make your AWS cloud environment more secure
  3. Rawsec's CyberSecurity Inventory ↗ — an inventory of tools and resources about CyberSecurity
  4. The Illustrated TLS Connection ↗ — every byte of a TLS connection explained and reproduced
  5. SSL Research ↗ — SSL and TLS Deployment Best Practices by SSL Labs
  6. SELinux Game ↗ — learn SELinux by doing. Solve Puzzles, show skillz
  7. Certificates and PKI ↗ — everything you should know about certificates and PKI but are too afraid to ask
  8. The Art of Subdomain Enumeration ↗ — a reference for subdomain enumeration techniques
  9. Quitting Google ↗ — the comprehensive guide to quitting Google

Section "Security & Privacy" of the "Manuals/Howtos/Tutorials" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Manuals/Howtos/Tutorials chapter ↗ Source list — GitHub ↗ Hacking Articles ↗ Checked Jul 2026
ProcessManuals/Howtos/Tutorials — Web Apps
  1. OWASP ↗ — worldwide not-for-profit charitable organization focused on improving the security of software
  2. OWASP ASVS 3.0.1 ↗ — OWASP Application Security Verification Standard Project
  3. OWASP ASVS 3.0.1 Web App ↗ — simple web app that helps developers understand the ASVS requirements
  4. OWASP ASVS 4.0 ↗ — is a list of application security requirements or tests
  5. OWASP Testing Guide v4 ↗ — includes a "best practice" penetration testing framework
  6. OWASP Dev Guide ↗ — this is the development version of the OWASP Developer Guide
  7. OWASP WSTG ↗ — is a comprehensive open source guide to testing the security of web apps
  8. OWASP API Security Project ↗ — focuses specifically on the top ten vulnerabilities in API security
  9. Mozilla Web Security ↗ — help operational teams with creating secure web applications
  10. security-bulletins ↗ — security bulletins that relate to Netflix Open Source
  11. API-Security-Checklist ↗ — security countermeasures when designing, testing, and releasing your API
  12. Enable CORS ↗ — enable cross-origin resource sharing
  13. Application Security Wiki ↗ — is an initiative to provide all application security related resources at one place
  14. Weird Proxies ↗ — reverse proxy related attacks; it is a result of analysis of various proxies
  15. Webshells ↗ — great series about malicious payloads
  16. Practical Web Cache Poisoning ↗ — show you how to compromise websites by using esoteric web features
  17. Hidden directories and files ↗ — as a source of sensitive information about web application
  18. Explosive blog ↗ — great blog about cybersec and pentests
  19. Security Cookies ↗ — this paper will take a close look at cookie security
  20. APISecurityBestPractices ↗ — help you keep secrets (API keys, db credentials, certificates) out of source code

Section "Web Apps" of the "Manuals/Howtos/Tutorials" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Manuals/Howtos/Tutorials chapter ↗ Source list — GitHub ↗ OWASP ↗ Checked Jul 2026
ProcessManuals/Howtos/Tutorials — All-in-one
  1. LZone Cheat Sheets ↗ — all cheat sheets
  2. Dan’s Cheat Sheets’s ↗ — massive cheat sheets documentation
  3. Rico's cheatsheets ↗ — this is a modest collection of cheatsheets
  4. DevDocs API ↗ — combines multiple API documentations in a fast, organized, and searchable interface
  5. cheat.sh ↗ — the only cheat sheet you need
  6. gnulinux.guru ↗ — collection of cheat sheets about bash, vim and networking
  7. Web Skills ↗ — visual overview of useful skills to learn as a web developer

Section "All-in-one" of the "Manuals/Howtos/Tutorials" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Manuals/Howtos/Tutorials chapter ↗ Source list — GitHub ↗ LZone Cheat Sheets ↗ Checked Jul 2026
ProcessManuals/Howtos/Tutorials — Ebooks
  1. free-programming-books ↗ — list of free learning resources in many languages

Section "Ebooks" of the "Manuals/Howtos/Tutorials" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Manuals/Howtos/Tutorials chapter ↗ Source list — GitHub ↗ free-programming-books ↗ Checked Jul 2026
ProcessManuals/Howtos/Tutorials — Other
  1. CTF Series : Vulnerable Machines ↗ — the steps below could be followed to find vulnerabilities and exploits
  2. 50M_CTF_Writeup ↗ — $50 million CTF from Hackerone - writeup
  3. ctf-tasks ↗ — an archive of low-level CTF challenges developed over the years
  4. How to start RE/malware analysis? ↗ — collection of some hints and useful links for the beginners
  5. The C10K problem ↗ — it's time for web servers to handle ten thousand clients simultaneously, don't you think?
  6. How 1500 bytes became the MTU of the internet ↗ — great story about the Maximum Transmission Unit
  7. poor man's profiler ↗ — like dtrace's don't really provide methods to see what programs are blocking on
  8. HTTPS on Stack Overflow ↗ — this is the story of a long journey regarding the implementation of SSL
  9. Julia's Drawings ↗ — some drawings about programming and unix world, zines about systems & debugging tools
  10. Hash collisions ↗ — this great repository is focused on hash collisions exploitation
  11. sha256-animation ↗ — animation of the SHA-256 hash function in your terminal
  12. sha256algorithm ↗ — sha256 algorithm explained online step by step visually
  13. BGP Meets Cat ↗ — after 3072 hours of manipulating BGP, Job Snijders has succeeded in drawing a Nyancat
  14. bgp-battleships ↗ — playing battleships over BGP
  15. What happens when... ↗ — you type google.com into your browser and press enter?
  16. how-web-works ↗ — based on the 'What happens when...' repository
  17. HTTPS in the real world ↗ — great tutorial explain how HTTPS works in the real world
  18. Gitlab and NFS bug ↗ — how we spent two weeks hunting an NFS bug in the Linux kernel
  19. Gitlab melts down ↗ — postmortem on the database outage of January 31 2017 with the lessons we learned
  20. How To Become A Hacker ↗ — if you want to be a hacker, keep reading
  21. Operation Costs in CPU ↗ — should help to estimate costs of certain operations in CPU clocks
  22. Let's Build a Simple Database ↗ — writing a sqlite clone from scratch in C
  23. simple-computer ↗ — great resource to understand how computers work under the hood
  24. The story of "Have I been pwned?" ↗ — working with 154 million records on Azure Table Storage
  25. TOP500 Supercomputers ↗ — shows the 500 most powerful commercially available computer systems
  26. How to build a 8 GPU password cracker ↗ — hours of frustration like desktop components do
  27. CERN Data Centre ↗ — 3D visualizations of the CERN computing environments (and more)
  28. How fucked is my database ↗ — evaluate how fucked your database is with this handy website
  29. Linux Troubleshooting 101 , 2016 Edition ↗ — everything is a DNS Problem
  30. Five Whys ↗ — you know what the problem is, but you cannot solve it?
  31. Maersk, me & notPetya ↗ — how did ransomware successfully hijack hundreds of domain controllers?
  32. howhttps.works ↗ — how HTTPS works ...in a comic!
  33. howdns.works ↗ — a fun and colorful explanation of how DNS works
  34. POSTGRESQLCO.NF ↗ — your postgresql.conf documentation and recommendations

Section "Other" of the "Manuals/Howtos/Tutorials" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Manuals/Howtos/Tutorials chapter ↗ Source list — GitHub ↗ CTF Series : Vulnerable Machines ↗ Checked Jul 2026
Common issue walkthrough

Find a tool in the "Manuals/Howtos/Tutorials" chapter

  1. Open the matching section below.
  2. Open the tool link and read its README or manual.
  3. Test it on a lab or non-production system first.
  4. Record what you used in the ticket or change note.
Other Cheat Sheets
ProcessOther Cheat Sheets — Build your own DNS Servers
  1. Unbound DNS Tutorial ↗ — a validating, recursive, and caching DNS server
  2. Knot Resolver on Fedora ↗ — how to get faster and more secure DNS resolution with Knot Resolver on Fedora
  3. DNS-over-HTTPS ↗ — tutorial to setup your own DNS-over-HTTPS (DoH) server
  4. dns-over-https ↗ — a cartoon intro to DNS over HTTPS
  5. DNS-over-TLS ↗ — following to your DoH server, setup your DNS-over-TLS (DoT) server
  6. DNS Servers ↗ — how (and why) i run my own DNS Servers

Section "Build your own DNS Servers" of the "Other Cheat Sheets" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Other Cheat Sheets chapter ↗ Source list — GitHub ↗ Unbound DNS Tutorial ↗ Checked Jul 2026
ProcessOther Cheat Sheets — Build your own Certificate Authority
  1. OpenSSL Certificate Authority ↗ — build your own certificate authority (CA) using the OpenSSL tools
  2. step-ca Certificate Authority ↗ — build your own certificate authority (CA) using open source step-ca

Section "Build your own Certificate Authority" of the "Other Cheat Sheets" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Other Cheat Sheets chapter ↗ Source list — GitHub ↗ OpenSSL Certificate Authority ↗ Checked Jul 2026
ProcessOther Cheat Sheets — Build your own System/Virtual Machine
  1. os-tutorial ↗ — how to create an OS from scratch
  2. Write your Own Virtual Machine ↗ — how to write your own virtual machine (VM)
  3. x86 Bare Metal Examples ↗ — dozens of minimal operating systems to learn x86 system programming
  4. simple-computer ↗ — the scott CPU from "But How Do It Know?" by J. Clark Scott
  5. littleosbook ↗ — the little book about OS development

Section "Build your own System/Virtual Machine" of the "Other Cheat Sheets" chapter in the trimstray curated list of tools, manuals, and cheat sheets.

Other Cheat Sheets chapter ↗ Source list — GitHub ↗ os-tutorial ↗ Checked Jul 2026
ProcessOther Cheat Sheets — DNS Servers list (privacy)
  1. 84.200.69.80 — dns.watch
  2. 94.247.43.254 — opennic.org
  3. 64.6.64.6 — verisign.com
  4. 89.233.43.71 — censurfridns.dk
  5. 1.1.1.1 — cloudflare.com
  6. 94.130.110.185 — dnsprivacy.at

"DNS Servers list (privacy)" list from the Other Cheat Sheets chapter.

Other Cheat Sheets chapter ↗ Source list — GitHub ↗ Checked Jul 2026
ProcessOther Cheat Sheets — TOP Browser extensions
  1. IPvFoo — Display the server IP address and HTTPS information across all page elements.
  2. FoxyProxy — Simplifies configuring browsers to access proxy-servers.
  3. HTTPS Everywhere — Automatically use HTTPS security on many sites.
  4. uMatrix — Point & click to forbid/allow any class of requests made by your browser.
  5. uBlock Origin — An efficient blocker: easy on memory and CPU footprint.
  6. Session Buddy — Manage browser tabs and bookmarks with ease.
  7. SuperSorter — Sort bookmarks recursively, delete duplicates, merge folders, and more.
  8. Clear Cache — Clear your cache and browsing data.
  9. d3coder — Encoding/Decoding plugin for various types of encoding.
  10. Web Developer — Adds a toolbar button with various web developer tools.
  11. ThreatPinch Lookup — Add threat intelligence hover tool tips.

"TOP Browser extensions" list from the Other Cheat Sheets chapter.

Other Cheat Sheets chapter ↗ Source list — GitHub ↗ Checked Jul 2026
ProcessOther Cheat Sheets — TOP Burp extensions
  1. Active Scan++ — Extends Burp's active and passive scanning capabilities.
  2. Autorize — Automatically detects authorization enforcement.
  3. AuthMatrix — A simple matrix grid to define the desired levels of access privilege.
  4. Logger++ — Logs requests and responses for all Burp tools in a sortable table.
  5. Bypass WAF — Adds headers useful for bypassing some WAF devices.
  6. JSON Beautifier — Beautifies JSON content in the HTTP message viewer.
  7. JSON Web Tokens — Enables Burp to decode and manipulate JSON web tokens.
  8. CSP Auditor — Displays CSP headers for responses, and passively reports CSP weaknesses.
  9. CSP-Bypass — Passively scans for CSP headers that contain known bypasses.
  10. Hackvertor — Converts data using a tag-based configuration to apply various encoding.
  11. HTML5 Auditor — Scans for usage of risky HTML5 features.
  12. Software Vulnerability Scanner — Vulnerability scanner based on vulners.com audit API.
  13. Turbo Intruder — Is a powerful bruteforcing tool.
  14. Upload Scanner — Upload a number of different file types, laced with different forms of payload.

Offensive-security tools: use only on systems you own or have written permission to test.

"TOP Burp extensions" list from the Other Cheat Sheets chapter.

Other Cheat Sheets chapter ↗ Source list — GitHub ↗ Checked Jul 2026
ProcessOther Cheat Sheets — Hack Mozilla Firefox address bar
  1. ^ — for matches in your browsing history
  2. * — for matches in your bookmarks.
  3. % — for matches in your currently open tabs.
  4. # — for matches in page titles.
  5. @ — for matches in web addresses.

"Hack Mozilla Firefox address bar" list from the Other Cheat Sheets chapter.

Other Cheat Sheets chapter ↗ Source list — GitHub ↗ Checked Jul 2026
ProcessOther Cheat Sheets — Chrome hidden commands
  1. chrome://chrome-urls — list of all commands
  2. chrome://flags — enable experiments and development features
  3. chrome://interstitials — errors and warnings
  4. chrome://net-internals — network internals (events, dns, cache)
  5. chrome://network-errors — network errors
  6. chrome://net-export — start logging future network activity to a file
  7. chrome://safe-browsing — safe browsing options
  8. chrome://user-actions — record all user actions
  9. chrome://restart — restart chrome
  10. chrome://dino — ERR_INTERNET_DISCONNECTED...
  11. cache:<website-address> — view the cached version of the web page

"Chrome hidden commands" list from the Other Cheat Sheets chapter.

Other Cheat Sheets chapter ↗ Source list — GitHub ↗ Checked Jul 2026
ProcessOther Cheat Sheets — Hashing, encryption and encoding
  1. Hashing: plaintext to hash; one-way, cannot be reversed.
  2. Symmetric encryption: one shared key encrypts and decrypts.
  3. Asymmetric encryption: public key encrypts, private key decrypts.
  4. Encoding: reversible format change with no key (not security).

Plain-English summary of the "Hashing, encryption and encoding" diagram by Michal Špaček in the Other Cheat Sheets chapter.

Other Cheat Sheets chapter ↗ Source list — GitHub ↗ Checked Jul 2026
Common issue walkthrough

Find a tool in the "Other Cheat Sheets" chapter

  1. Open the matching section below.
  2. Open the tool link and read its README or manual.
  3. Test it on a lab or non-production system first.
  4. Record what you used in the ticket or change note.
Shell One-liners
ProcessShell one-liners — terminal
  1. Reload shell without exit
  2. Close shell keeping all subprocess running
  3. Exit without saving shell history
  4. Perform a branching conditional
  5. Pipe stdout and stderr to separate commands
  6. Redirect stdout and stderr each to separate files and print both to the screen
  7. List of commands you use most often
  8. Sterilize bash history
  9. Quickly backup a file
  10. Empty a file (truncate to 0 size)
  11. Delete all files in a folder that don't match a certain file extension
  12. Pass multi-line string to a file
  13. Edit a file on a remote host using vim
  14. Create a directory and change into it at the same time
  15. Convert uppercase files to lowercase files
  16. Print a row of characters across the terminal
  17. Show shell history without line numbers
  18. Run command(s) after exit session
  19. Generate a sequence of numbers
  20. Simple Bash filewatching

One-liner titles for terminal from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ terminal reference ↗ Checked Jul 2026
ProcessShell one-liners — busybox
  1. Static HTTP web server

One-liner titles for busybox from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ busybox reference ↗ Checked Jul 2026
ProcessShell one-liners — mount
  1. Mount a temporary ram partition
  2. Remount a filesystem as read/write

One-liner titles for mount from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ mount reference ↗ Checked Jul 2026
ProcessShell one-liners — fuser
  1. Show which processes use the files/directories
  2. Kills a process that is locking a file
  3. Kills a process that is locking a file with specific signal
  4. Show what PID is listening on specific port
  5. Show all processes using the named filesystems or block device

One-liner titles for fuser from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ fuser reference ↗ Checked Jul 2026
ProcessShell one-liners — lsof
  1. Show process that use internet connection at the moment
  2. Show process that use specific port number
  3. Lists all listening ports together with the PID of the associated process
  4. List all open ports and their owning executables
  5. Show all open ports
  6. Show open ports (LISTEN)
  7. List all files opened by a particular command
  8. View user activity per directory
  9. Show 10 largest open files
  10. Show current working directory of a process

One-liner titles for lsof from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ lsof reference ↗ Checked Jul 2026
ProcessShell one-liners — ps
  1. Show a 4-way scrollable process tree with full details
  2. Processes per user counter
  3. Show all processes by name with main header

One-liner titles for ps from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ ps reference ↗ Checked Jul 2026
ProcessShell one-liners — find
  1. Find files that have been modified on your system in the past 60 minutes
  2. Find all files larger than 20M
  3. Find duplicate files (based on MD5 hash)
  4. Change permission only for files
  5. Change permission only for directories
  6. Find files and directories for specific user/group
  7. Find files and directories for all without specific user/group
  8. Looking for files/directories that only have certain permission
  9. Delete older files than 60 days
  10. Recursively remove all empty sub-directories from a directory
  11. How to find all hard links to a file
  12. Recursively find the latest modified files
  13. Recursively find/replace of a string with sed
  14. Recursively find/replace of a string in directories and file names
  15. Recursively find suid executables

One-liner titles for find from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ find reference ↗ Checked Jul 2026
ProcessShell one-liners — top
  1. Use top to monitor only all processes with the specific string

One-liner titles for top from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ top reference ↗ Checked Jul 2026
ProcessShell one-liners — vmstat
  1. Show current system utilization (fields in kilobytes)
  2. Show current system utilization will get refreshed every 5 seconds
  3. Display report a summary of disk operations
  4. Display report of event counters and memory stats
  5. Display report about kernel objects stored in slab layer cache

One-liner titles for vmstat from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ vmstat reference ↗ Checked Jul 2026
ProcessShell one-liners — iostat
  1. Show information about the CPU usage, and I/O statistics about all the partitions
  2. Show information only about the CPU utilization
  3. Show information only about the disk utilization
  4. Show information only about the LVM utilization

One-liner titles for iostat from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ iostat reference ↗ Checked Jul 2026
ProcessShell one-liners — strace
  1. Track with child processes
  2. Track process with 30 seconds limit
  3. Track processes and redirect output to a file
  4. Track with print time spent in each syscall and limit length of print strings
  5. Track the open request of a network port
  6. Track the open request of a network port (show TCP/UDP)

One-liner titles for strace from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ strace reference ↗ Checked Jul 2026
ProcessShell one-liners — kill
  1. Kill a process running on port

One-liner titles for kill from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ kill reference ↗ Checked Jul 2026
ProcessShell one-liners — diff
  1. Compare two directory trees
  2. Compare output of two commands

One-liner titles for diff from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ diff reference ↗ Checked Jul 2026
ProcessShell one-liners — vimdiff
  1. Highlight the exact differences, based on characters and words
  2. Compare two JSON files
  3. Compare Hex dump
  4. diffchar

One-liner titles for vimdiff from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ vimdiff reference ↗ Checked Jul 2026
ProcessShell one-liners — tail
  1. Annotate tail -f with timestamps
  2. Analyse an Apache access log for the most common IP addresses
  3. Analyse web server log and show only 5xx http codes

One-liner titles for tail from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ tail reference ↗ Checked Jul 2026
ProcessShell one-liners — tar
  1. System backup with exclude specific directories
  2. System backup with exclude specific directories (pigz)

One-liner titles for tar from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ tar reference ↗ Checked Jul 2026
ProcessShell one-liners — dump
  1. System backup to file
  2. Restore system from lzo file

One-liner titles for dump from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ dump reference ↗ Checked Jul 2026
ProcessShell one-liners — cpulimit
  1. Limit the cpu usage of a process

One-liner titles for cpulimit from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ cpulimit reference ↗ Checked Jul 2026
ProcessShell one-liners — pwdx
  1. Show current working directory of a process

One-liner titles for pwdx from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ pwdx reference ↗ Checked Jul 2026
ProcessShell one-liners — taskset
  1. Start a command on only one CPU core

One-liner titles for taskset from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ taskset reference ↗ Checked Jul 2026
ProcessShell one-liners — tr
  1. Show directories in the PATH, one per line

One-liner titles for tr from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ tr reference ↗ Checked Jul 2026
ProcessShell one-liners — chmod
  1. Remove executable bit from all files in the current directory
  2. Restore permission for /bin/chmod

One-liner titles for chmod from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ chmod reference ↗ Checked Jul 2026
ProcessShell one-liners — who
  1. Find last reboot time
  2. Detect a user sudo-su'd into the current shell

One-liner titles for who from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ who reference ↗ Checked Jul 2026
ProcessShell one-liners — last
  1. Was the last reboot a panic?

One-liner titles for last from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ last reference ↗ Checked Jul 2026
ProcessShell one-liners — screen
  1. Start screen in detached mode
  2. Attach to an existing screen session

One-liner titles for screen from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ screen reference ↗ Checked Jul 2026
ProcessShell one-liners — script
  1. Record and replay terminal session

One-liner titles for script from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ script reference ↗ Checked Jul 2026
ProcessShell one-liners — du
  1. Show 20 biggest directories with 'K M G'

One-liner titles for du from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ du reference ↗ Checked Jul 2026
ProcessShell one-liners — inotifywait
  1. Init tool everytime a file in a directory is modified

One-liner titles for inotifywait from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ inotifywait reference ↗ Checked Jul 2026
ProcessShell one-liners — openssl
  1. Testing connection to the remote host
  2. Testing connection to the remote host (debug mode)
  3. Testing connection to the remote host (with SNI support)
  4. Testing connection to the remote host with specific ssl version
  5. Testing connection to the remote host with specific ssl cipher
  6. Verify 0-RTT
  7. Generate private key without passphrase
  8. Generate private key with passphrase
  9. Remove passphrase from private key
  10. Encrypt existing private key with a passphrase
  11. Check private key
  12. Get public key from private key
  13. Generate private key and CSR
  14. Generate CSR
  15. Generate CSR (metadata from existing certificate)
  16. Generate CSR with -config param
  17. List available EC curves
  18. Print ECDSA private and public keys
  19. Generate ECDSA private key
  20. Generate private key and CSR (ECC)
  21. Generate self-signed certificate
  22. Generate self-signed certificate from existing private key
  23. Generate self-signed certificate from existing private key and csr
  24. Generate DH public parameters
  25. Display DH public parameters
  26. Extract private key from pfx
  27. Extract private key and certs from pfx
  28. Extract certs from p7b
  29. Convert DER to PEM
  30. Convert PEM to DER
  31. Verification of the private key
  32. Verification of the public key
  33. Verification of the certificate
  34. Verification of the CSR
  35. Check the private key and the certificate are match
  36. Check the private key and the CSR are match

One-liner titles for openssl from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ openssl reference ↗ Checked Jul 2026
ProcessShell one-liners — secure-delete
  1. Secure delete with shred
  2. Secure delete with scrub
  3. Secure delete with badblocks
  4. Secure delete with secure-delete

One-liner titles for secure-delete from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ secure-delete reference ↗ Checked Jul 2026
ProcessShell one-liners — dd
  1. Show dd status every so often
  2. Redirect output to a file with dd

One-liner titles for dd from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ dd reference ↗ Checked Jul 2026
ProcessShell one-liners — gpg
  1. Export public key
  2. Encrypt file
  3. Decrypt file
  4. Search recipient
  5. List all of the packets in an encrypted file

One-liner titles for gpg from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ gpg reference ↗ Checked Jul 2026
ProcessShell one-liners — system-other
  1. Reboot system from init
  2. Init system from single user mode
  3. Show current working directory of a process
  4. Show actual pathname of the executed command

One-liner titles for system-other from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ system-other reference ↗ Checked Jul 2026
ProcessShell one-liners — curl
  1. Find your external IP address (external services)
  2. Repeat URL request
  3. Check DNS and HTTP trace with headers for specific domains

One-liner titles for curl from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ curl reference ↗ Checked Jul 2026
ProcessShell one-liners — ssh
  1. Escape Sequence
  2. Compare a remote file with a local file
  3. SSH connection through host in the middle
  4. Run command over SSH on remote host
  5. Get public key from private key
  6. Get all fingerprints
  7. SSH authentication with user password
  8. SSH authentication with publickey
  9. Simple recording SSH session
  10. Using Keychain for SSH logins
  11. SSH login without processing any login scripts
  12. SSH local port forwarding
  13. SSH remote port forwarding

One-liner titles for ssh from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ ssh reference ↗ Checked Jul 2026
ProcessShell one-liners — linux-dev
  1. Testing remote connection to port
  2. Read and write to TCP or UDP sockets with common bash tools

One-liner titles for linux-dev from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ linux-dev reference ↗ Checked Jul 2026
ProcessShell one-liners — tcpdump
  1. Filter incoming (on interface) traffic (specific <ip:port>)
  2. Filter incoming (on interface) traffic (specific <ip:port>) and write to a file
  3. Capture all ICMP packets
  4. Check protocol used (TCP or UDP) for service
  5. Display ASCII text (to parse the output using grep or other)
  6. Grab everything between two keywords
  7. Grab user and pass ever plain http
  8. Extract HTTP User Agent from HTTP request header
  9. Capture only HTTP GET and POST packets
  10. Rotate capture files
  11. Top hosts by packets
  12. Excludes any RFC 1918 private address

One-liner titles for tcpdump from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ tcpdump reference ↗ Checked Jul 2026
ProcessShell one-liners — tcpick
  1. Analyse packets in real-time

One-liner titles for tcpick from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ tcpick reference ↗ Checked Jul 2026
ProcessShell one-liners — nmap
  1. Ping scans the network
  2. Show only open ports
  3. Full TCP port scan using with service version detection
  4. Nmap scan and pass output to Nikto
  5. Recon specific ip:service with Nmap NSE scripts stack

One-liner titles for nmap from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ nmap reference ↗ Checked Jul 2026
ProcessShell one-liners — netcat
  1. Transfer data file (archive)
  2. Launch remote shell
  3. Simple file server
  4. Simple minimal HTTP Server
  5. Simple HTTP Server
  6. Simple HTTP Proxy (single connection)
  7. Create a single-use TCP or UDP proxy

One-liner titles for netcat from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ netcat reference ↗ Checked Jul 2026
ProcessShell one-liners — gnutls-cli
  1. Testing connection to remote host (with SNI support)
  2. Testing connection to remote host (without SNI support)

One-liner titles for gnutls-cli from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ gnutls-cli reference ↗ Checked Jul 2026
ProcessShell one-liners — socat
  1. Testing remote connection to port
  2. Redirecting TCP-traffic to a UNIX domain socket under Linux

One-liner titles for socat from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ socat reference ↗ Checked Jul 2026
ProcessShell one-liners — p0f
  1. Set iface in promiscuous mode and dump traffic to the log file

One-liner titles for p0f from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ p0f reference ↗ Checked Jul 2026
ProcessShell one-liners — netstat
  1. Graph # of connections for each hosts
  2. Monitor open connections for specific port including listen, count and sort it per IP
  3. Grab banners from local IPv4 listening ports

One-liner titles for netstat from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ netstat reference ↗ Checked Jul 2026
ProcessShell one-liners — rsync
  1. Rsync remote data as root using sudo

One-liner titles for rsync from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ rsync reference ↗ Checked Jul 2026
ProcessShell one-liners — host
  1. Resolves the domain name (using external dns server)
  2. Checks the domain administrator (SOA record)

One-liner titles for host from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ host reference ↗ Checked Jul 2026
ProcessShell one-liners — dig
  1. Resolves the domain name (short output)
  2. Lookup NS record for specific domain
  3. Query only answer section
  4. Query ALL DNS Records
  5. DNS Reverse Look-up

One-liner titles for dig from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ dig reference ↗ Checked Jul 2026
ProcessShell one-liners — certbot
  1. Generate multidomain certificate
  2. Generate wildcard certificate
  3. Generate certificate with 4096 bit private key

One-liner titles for certbot from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ certbot reference ↗ Checked Jul 2026
ProcessShell one-liners — network-other
  1. Get all subnets for specific AS (Autonomous system)
  2. Resolves domain name from dns.google.com with curl and jq

One-liner titles for network-other from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ network-other reference ↗ Checked Jul 2026
ProcessShell one-liners — git
  1. Log alias for a decent view of your repo

One-liner titles for git from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ git reference ↗ Checked Jul 2026
ProcessShell one-liners — python
  1. Static HTTP web server
  2. Static HTTP web server with SSL support
  3. Encode base64
  4. Decode base64

One-liner titles for python from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ python reference ↗ Checked Jul 2026
ProcessShell one-liners — awk
  1. Search for matching lines
  2. Search non matching lines
  3. Print matching lines with numbers
  4. Print the last column
  5. Find all the lines longer than 80 characters
  6. Print only lines of less than 80 characters
  7. Print double new lines a file
  8. Print line numbers
  9. Print line numbers for only non-blank lines
  10. Print the line and the next two (i=5) lines after the line matching regexp
  11. Print the lines starting at the line matching 'server {' until the line matching '}'
  12. Print multiple columns with separators
  13. Remove empty lines
  14. Delete trailing white space (spaces, tabs)
  15. Delete leading white space
  16. Remove duplicate consecutive lines
  17. Remove duplicate entries in a file without sorting
  18. Exclude multiple columns
  19. Substitute foo for bar on lines matching regexp
  20. Add some characters at the beginning of matching lines
  21. Get the last hour of Apache logs

One-liner titles for awk from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ awk reference ↗ Checked Jul 2026
ProcessShell one-liners — sed
  1. Print a specific line from a file
  2. Remove a specific line from a file
  3. Remove a range of lines from a file
  4. Replace newline(s) with a space
  5. Delete string +N next lines

One-liner titles for sed from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ sed reference ↗ Checked Jul 2026
ProcessShell one-liners — grep
  1. Search for a "pattern" inside all files in the current directory
  2. Show only for multiple patterns
  3. Except multiple patterns
  4. Show data from file without comments
  5. Show data from file without comments and new lines
  6. Show strings with a dash/hyphen
  7. Remove blank lines from a file and save output to new file

One-liner titles for grep from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ grep reference ↗ Checked Jul 2026
ProcessShell one-liners — perl
  1. Search and replace (in place)
  2. Edit of `*.conf` files changing all foo to bar (and backup original)
  3. Prints the first 20 lines from `*.conf` files
  4. Search lines 10 to 20
  5. Delete first 10 lines (and backup original)
  6. Delete all but lines between foo and bar (and backup original)
  7. Reduce multiple blank lines to a single line
  8. Convert tabs to spaces (1t = 2sp)
  9. Read input from a file and report number of lines and characters

One-liner titles for perl from the Shell One-liners chapter; open the chapter for the exact commands.

Shell One-liners chapter ↗ Source list — GitHub ↗ perl reference ↗ Checked Jul 2026
Common issue walkthrough

Use a one-liner safely

  1. Find the tool in the list below.
  2. Open the chapter for the exact command.
  3. Read what each part does before running it.
  4. Run it on a test system or with a read-only option first.
Shell Tricks & Functions
ProcessShell tricks — get a clean interactive shell
  1. script /dev/null -c bash
  2. Ctrl-Z (to send it to background)
  3. stty raw -echo; fg (returns the shell to foreground)
  4. reset (to reset terminal)
  5. xterm (when asked for terminal type)
  6. export TERM=xterm; export SHELL=bash

Steps from the Shell Tricks chapter for cleaning up a raw shell session (script, stty, reset, TERM).

Shell Tricks chapter ↗ Source list — GitHub ↗ stty — GNU coreutils ↗ Checked Jul 2026
ProcessShell functions — Domain resolve and Get ASN
  1. Domain resolve
  2. Get ASN

Reusable bash functions from the Shell Functions chapter (they need curl and jq).

Shell functions chapter ↗ Source list — GitHub ↗ jq manual ↗ Checked Jul 2026
Common issue walkthrough

Use a trick or function

  1. Open the chapter for the full text.
  2. Check dependencies (curl, jq).
  3. Test in a scratch shell.
  4. Save useful ones in your own profile or script library.
Software Development Lifecycle (SDLC)
ProcessSDLC phases at a glance
  1. Plan: define goals, scope, and requirements.
  2. Design: architecture, data model, and interfaces.
  3. Build: write and review code.
  4. Test: unit, integration, and user acceptance testing.
  5. Deploy: release with a rollback plan.
  6. Maintain: monitor, fix bugs, and improve.

Waterfall runs the phases in order; Agile (Scrum, Kanban) repeats them in short cycles.

NIST Secure Software Development Framework ↗ Agile Manifesto ↗ Scrum Guide ↗ Checked Jul 2026
ProcessReport a bug so a developer can fix it
  1. What you did (exact steps).
  2. What you expected vs what happened.
  3. Exact error text or screenshot, and time it occurred.
  4. Environment: app version, server, user.
  5. Logs or job output attached.
  6. How often it happens and the business impact.

A complete bug report saves a round of questions.

Pro Git book ↗ NIST SSDF ↗ Agile Manifesto ↗ Checked Jul 2026
Common issue walkthrough

Support finds a software bug

  1. Reproduce it and capture the details.
  2. Check whether it is known.
  3. Log it with the bug-report details.
  4. Follow up on status.
Software Engineering — Advanced Practices
ProcessCI/CD pipeline (data flow)
CI/CD: build, test, scan, store the artifact, deploy to staging, approve, deploy to production, monitortriggerpasspasspassreleaseverifiedapprovedliveCommit / PRBuildTestSecurity scan(deps, secrets)ArtifactregistryDeploy tostagingApprovalDeploy toproductionMonitor androll back
Commit / PR↓ trigger → Build
Build↓ pass → Test
Monitor and roll back
Test↓ pass → Security scan (deps, secrets)
Deploy to production↓ live → Monitor and roll back
Security scan (deps, secrets)↓ pass → Artifact registry
Approval↓ approved → Deploy to production
Artifact registry↓ release → Deploy to staging
Deploy to staging↓ verified → Approval
CI/CD: build, test, scan, store the artifact, deploy to staging, approve, deploy to production, monitor
  1. Every change triggers an automated build and test run.
  2. Scans check dependencies, secrets, and code for known problems.
  3. A versioned artifact (package or image) is stored once and promoted through environments unchanged.
  4. Staging is tested, then a person approves production if your process requires it.
  5. After release, monitor and be ready to roll back.

The standard automated path from commit to production.

GitHub Actions docs ↗ Azure Pipelines — Microsoft Learn ↗ NIST Secure Software Development Framework ↗ Checked Jul 2026
ProcessBlue-green and canary deployments
Blue-green and canary: send all or a small share of traffic to the new versionrequests90% / all10% / switchUsersLoad balancer/ routerBlue(current version)Green(new version)
Users↓ requests → Load balancer / router
Load balancer / router↓ 90% / all → Blue (current version)↓ 10% / switch → Green (new version)
Blue (current version)
Green (new version)
Blue-green and canary: send all or a small share of traffic to the new version
  1. Blue-green: run the new version beside the old one, test it, then switch all traffic at once; switch back to roll back.
  2. Canary: send a small percentage to the new version first and watch errors and speed before increasing.
  3. Both need identical environments and a database change plan that works with old and new code.
  4. Use health checks and clear rollback triggers (error rate, latency).
ProcessDesign patterns every developer meets
  1. Creational: Factory, Builder, Singleton — how objects get created.
  2. Structural: Adapter, Decorator, Facade — how pieces connect.
  3. Behavioral: Observer, Strategy, Command — how pieces communicate.
  4. Architectural: MVC, layered, event-driven, microservices, CQRS.
  5. Use a pattern when it solves a real problem, not to look advanced.
ProcessSOLID principles in plain English
  1. Single responsibility: a class or function has one reason to change.
  2. Open/closed: add behavior by extending, not rewriting.
  3. Liskov substitution: a subtype can be used anywhere its parent is expected.
  4. Interface segregation: many small interfaces beat one large one.
  5. Dependency inversion: depend on abstractions, so parts can be swapped and tested.
ProcessMonolith vs microservices
Monolith: one app and database. Microservices: separate services, own data, gateway, and queuesharedroutesrouteseventseventsMonolithone deployable appOne databaseAPI gatewayService A+ its dataService B+ its dataMessage queue
Monolith one deployable app↓ shared → One database
API gateway↓ routes → Service A + its data↓ routes → Service B + its data
One database
Service A + its data↓ events → Message queue
Message queue↓ events → Service B + its data
Service B + its data
Monolith: one app and database. Microservices: separate services, own data, gateway, and queue
  1. A monolith is simpler to build, test, and run; start here for most projects.
  2. Microservices split the system so teams can deploy independently, at the cost of network calls, tracing, and data consistency work.
  3. Split along clear business boundaries, not technical layers.
  4. Each service owns its data; others ask through its API or events.
  5. Use a queue for work that does not need an instant answer.
ProcessThe Twelve-Factor App (cloud-ready apps)
  1. One codebase in version control, many deploys.
  2. Declare dependencies explicitly.
  3. Store configuration in the environment, not in code.
  4. Treat databases and queues as attached resources.
  5. Separate build, release, and run.
  6. Run as stateless processes; keep state in a backing service.
  7. Export services by port, scale by running more processes.
  8. Make processes disposable: fast start, clean stop.
  9. Keep development and production as similar as possible.
  10. Treat logs as event streams.
  11. Run admin tasks as one-off processes.

A checklist for apps that run well in the cloud and in containers.

The Twelve-Factor App ↗ Dockerfile best practices ↗ Cloud deployment patterns — Microsoft Learn ↗ Checked Jul 2026
ProcessObservability: logs, metrics, and traces
  1. Logs: what happened, with context (structured, with correlation IDs).
  2. Metrics: numbers over time (requests, errors, latency, CPU) used for dashboards and alerts.
  3. Traces: one request followed across services to find the slow hop.
  4. Alert on symptoms users feel (errors, slow responses), not only on CPU.
  5. Use one standard such as OpenTelemetry to collect all three.

The three signals you need to run production systems.

OpenTelemetry documentation ↗ Azure Monitor — Microsoft Learn ↗ Google SRE book ↗ Checked Jul 2026
ProcessDatabase practices for developers
  1. Add indexes for columns used in WHERE, JOIN, and ORDER BY; check the execution plan.
  2. Use migrations (versioned scripts) for schema changes, tested before production.
  3. Use transactions for multi-step changes.
  4. Avoid SELECT * and unbounded queries; page large results.
  5. Use parameterized queries; keep least-privilege database accounts.
  6. Back up and test restores.

The habits that prevent slow and broken data code.

SQL Server indexes — Microsoft Learn ↗ OWASP Top 10 ↗ Use The Index, Luke ↗ Checked Jul 2026
ProcessDependency and supply-chain management
  1. Pin versions and commit the lock file.
  2. Use only needed packages from trusted sources; check for typos in names (typosquatting).
  3. Scan dependencies for known vulnerabilities in the pipeline.
  4. Generate a software bill of materials (SBOM) for releases.
  5. Update on a schedule and test before merging updates.

Most apps are mostly other people's code, so manage it deliberately.

SBOM — CISA ↗ NIST Secure Software Development Framework ↗ OWASP Top 10 ↗ Checked Jul 2026
ProcessFeature flags and semantic versioning
  1. Feature flags let you merge unfinished work turned off, and enable it for a small group first.
  2. Remove flags once a feature is fully released.
  3. Semantic versioning: MAJOR.MINOR.PATCH — major for breaking changes, minor for new features, patch for fixes.
  4. Write a changelog for every release.

Tools for releasing gradually and communicating change.

Semantic Versioning ↗ Trunk-based development ↗ Keep a Changelog ↗ Checked Jul 2026
SafeGit — advanced commands
git log --oneline --graph --decorate --all
git diff main...feature              # changes on feature since it branched
git stash push -m "wip" && git stash pop
git restore --staged <file>           # unstage
git restore <file>                    # discard local changes to a file
git cherry-pick <commit>
git rebase main                       # replay your branch on top of main
git rebase -i HEAD~5                  # tidy local commits (only unpushed ones)
git reflog                            # find lost commits
git bisect start && git bisect bad && git bisect good <commit>
git blame <file>
git tag -a v1.2.0 -m "Release 1.2.0"

Read-only or local commands, but rebase and restore change your working copy; commit or stash first.

Commands for investigating history and cleaning up work. Rebase only commits you have not pushed.

Git documentation ↗ Pro Git book ↗ Comparing Git workflows — Atlassian ↗ Checked Jul 2026
Safekubectl — everyday commands
kubectl config get-contexts
kubectl get pods -A
kubectl get deploy,svc,ing -n <namespace>
kubectl describe pod <pod> -n <namespace>
kubectl logs <pod> -n <namespace> --tail=100 -f
kubectl exec -it <pod> -n <namespace> -- sh
kubectl rollout status deploy/<name> -n <namespace>
kubectl rollout undo deploy/<name> -n <namespace>     # rolls back (changes the cluster)
kubectl top pods -n <namespace>

rollout undo changes the cluster; all others are read-only.

Read the context first (get-contexts) so you do not run commands against the wrong cluster.

kubectl cheat sheet — Kubernetes ↗ Kubernetes docs ↗ AKS — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Prepare a service for production

  1. Add structured logging, metrics, and health checks.
  2. Put configuration in the environment and secrets in a vault.
  3. Build a pipeline: test, scan, deploy to staging.
  4. Plan rollout (canary or blue-green) and a rollback.
Software Engineering — Common Practices
ProcessClean code habits that matter most
  1. Use clear names for variables, functions, and files; a good name removes the need for a comment.
  2. Keep functions short and focused on one job.
  3. Avoid repeating yourself: move shared logic into one function.
  4. Handle errors on purpose; do not swallow exceptions.
  5. Use comments to explain why, not what.
  6. Format with an automatic formatter and check with a linter so style is never debated.

The basics that make code easy to read, change, and debug.

Clean Code summary — Wikipedia ↗ Refactoring catalog — Martin Fowler ↗ Code review developer guide — Google ↗ Checked Jul 2026
ProcessGit branch, pull request, and merge flow
Pull request flow: branch, commit, pull request, review with CI, mergeworkpushrequestedapprovedBranch frommainSmallcommitsOpen pullrequestReview andCI checksMerge anddelete branch
Branch from main↓ work → Small commits
Small commits↓ push → Open pull request
Open pull request↓ requested → Review and CI checks
Review and CI checks↓ approved → Merge and delete branch
Merge and delete branch
Pull request flow: branch, commit, pull request, review with CI, merge
  1. Create a short-lived branch from the main branch for one change.
  2. Commit small, logical steps with clear messages.
  3. Push and open a pull request describing what and why.
  4. Automated checks and a reviewer approve (or request changes).
  5. Merge, delete the branch, and let the pipeline deploy.

The everyday team workflow for changing code safely.

Comparing Git workflows — Atlassian ↗ Pro Git book ↗ Git documentation ↗ Checked Jul 2026
ProcessBranching strategies: trunk-based vs Git flow
  1. Trunk-based: everyone merges small changes to main often; use feature flags for unfinished work. Best with strong automated tests.
  2. Git flow: long-lived develop and release branches. Suits scheduled releases but adds merge work.
  3. GitHub flow: branch, pull request, merge to main, deploy. Simple and common.
  4. Choose the simplest model that fits your release process and test coverage.

How teams organize branches and where each fits.

Trunk-based development ↗ Comparing Git workflows — Atlassian ↗ GitHub flow ↗ Checked Jul 2026
ProcessWrite good commit messages and pull requests
  1. First line: short summary in the imperative (for example "Fix null check in login").
  2. Blank line, then why the change was made and anything reviewers should know.
  3. One logical change per commit and per pull request.
  4. Link the ticket or issue.
  5. Include how you tested it.

Good history makes bugs easier to find and reviews faster.

Conventional Commits ↗ Code review developer guide — Google ↗ Pro Git book ↗ Checked Jul 2026
ProcessCode review checklist
  1. Does it do what the ticket asks, and is anything missing?
  2. Is it easy to read and consistent with the codebase?
  3. Are errors, empty inputs, and edge cases handled?
  4. Are there tests, and do they check behavior?
  5. Any security issues: input validation, secrets, permissions?
  6. Any performance concern: loops, queries, large data?
  7. Is documentation or a config change needed?
ProcessTest pyramid
Test pyramid: many fast unit tests, fewer integration tests, very few end-to-end testsbuild upbuild upEnd-to-end testsfew, slow, fragileIntegration / API testssomeUnit testsmany, fast, cheap
End-to-end tests few, slow, fragile
Integration / API tests some↓ build up → End-to-end tests few, slow, fragile
Unit tests many, fast, cheap↓ build up → Integration / API tests some
Test pyramid: many fast unit tests, fewer integration tests, very few end-to-end tests
  1. Unit tests check one function or class quickly; write many.
  2. Integration tests check that parts work together (code with the database or an API).
  3. End-to-end tests drive the whole system like a user; keep these few because they are slow and brittle.
  4. Run unit tests on every commit and the rest in the pipeline.
  5. Write a failing test for each bug before you fix it.

Where to put testing effort for fast, reliable feedback.

The practical test pyramid — Martin Fowler ↗ pytest documentation ↗ Testing — Microsoft Learn ↗ Checked Jul 2026
SafeRun tests and linters (Python, JavaScript)
# Python
python -m venv .venv
. .venv/bin/activate        # Windows: .venv\Scripts\Activate.ps1
pip install -r requirements.txt
pytest -q
pytest -k login -x          # run matching tests, stop at first failure
ruff check .                # lint
black --check .             # format check

# JavaScript / TypeScript
npm ci
npm test
npx eslint .
npx prettier --check .

Run these before every pull request; the same commands should run in the pipeline.

pytest documentation ↗ ESLint ↗ Ruff ↗ Checked Jul 2026
ProcessREST API design basics
  1. Use nouns for resources (/tickets/42) and HTTP methods for actions: GET read, POST create, PUT/PATCH update, DELETE remove.
  2. Return correct status codes: 200, 201, 204, 400, 401, 403, 404, 409, 429, 500.
  3. Use JSON with consistent field names and error format.
  4. Version the API (/v1/) and avoid breaking changes.
  5. Support pagination, filtering, and sorting for lists.
  6. Authenticate every call and validate every input.
  7. Document with OpenAPI.

Conventions that make an API predictable.

Azure API design — Microsoft Learn ↗ HTTP methods — MDN ↗ HTTP status codes — MDN ↗ Checked Jul 2026
ProcessError handling and logging
  1. Catch specific errors, add context, and re-raise or return a clear error.
  2. Log at levels: debug, info, warning, error; log one structured line per event.
  3. Include a request or correlation ID in every log line.
  4. Never log passwords, tokens, or PHI.
  5. Make failures visible: alerts for errors, not just log files.
  6. Fail safely: on error, do not leave data half-changed (use transactions).

Good logs turn a mystery failure into a five-minute fix.

OpenTelemetry documentation ↗ Python logging ↗ The Twelve-Factor App ↗ Checked Jul 2026
ProcessSecure coding checklist
  1. Validate and sanitize all input; use parameterized queries to stop SQL injection.
  2. Encode output to prevent cross-site scripting.
  3. Store secrets in a vault or environment variables, never in code or Git.
  4. Use well-tested libraries for authentication and encryption.
  5. Apply least privilege to accounts, tokens, and services.
  6. Keep dependencies updated and scan them for known vulnerabilities.
  7. Review the OWASP Top 10 for each project.

Core habits that prevent the most common vulnerabilities.

OWASP Top 10 ↗ NIST Secure Software Development Framework ↗ OWASP Cheat Sheet Series ↗ Checked Jul 2026
ProcessDocumentation developers actually keep up
  1. README: what it is, how to run it, how to test it, how to deploy it.
  2. Architecture notes and a diagram of the main data flows.
  3. Decision records (ADRs): why a choice was made, in one page.
  4. Runbook: how to operate it and fix common failures.
  5. Keep docs in the repository and update them in the same pull request as the change.

Short, close-to-the-code documentation stays accurate.

Architecture decision records ↗ Write the Docs ↗ The Twelve-Factor App ↗ Checked Jul 2026
SafeDocker: everyday commands
docker version
docker ps -a                         # containers (running and stopped)
docker images
docker build -t myapp:1.0 .
docker run --rm -p 8080:80 myapp:1.0
docker run -d --name web -p 8080:80 nginx
docker logs -f web
docker exec -it web sh
docker stop web && docker rm web
docker compose up -d
docker compose logs -f
docker compose down

The commands used daily to build and run containers.

Docker CLI reference ↗ Dockerfile best practices ↗ Docker Compose ↗ Checked Jul 2026
Common issue walkthrough

Ship a small change safely

  1. Create a branch and make one focused change.
  2. Add or update a test and run it.
  3. Open a pull request and get a review.
  4. Merge after checks pass and watch the deployment.
08 Languages & DatabasesPython, PowerShell, shell, SQL, Db2, HTML, CSS, Java, and C++
C++ — Fundamentals
SafeVariables & basic I/O
#include <iostream>
using namespace std;

int main() {
    int count = 5;
    string name = "Server01";
    cout << name << " has " << count << " users" << endl;
    return 0;
}

Every C++ program needs a main() function — it's the entry point the compiler looks for.

cout/cin are the standard console input/output streams — the C++ equivalent of Python's print() or PowerShell's Write-Host.

std::cin — cppreference ↗ cppreference ↗ Standard C++ Foundation ↗ Checked Jul 2026
SafeFunctions
int addNumbers(int a, int b) {
    return a + b;
}

int main() {
    int result = addNumbers(3, 4);
    cout << result << endl;
}

A function must be declared (or defined) before it's used — C++ reads top to bottom, unlike Python where a function can be called before its definition appears later in some contexts.

Function signatures in C++ require explicit return and parameter types — the compiler enforces this at build time, not at runtime.

Functions — cppreference ↗ cppreference ↗ Standard C++ Foundation ↗ Checked Jul 2026
SafePointers & references
int x = 10;
int* ptr = &x;       // ptr holds the memory address of x
cout << *ptr << endl;  // dereference: prints 10

int& ref = x;         // ref is an alias for x
ref = 20;              // this also changes x

A pointer stores an address and can be reassigned to point elsewhere; a reference is permanently bound to one variable at creation — that distinction trips up almost everyone learning C++.

Direct memory access is what makes C++ powerful for systems-level and performance-critical work, and also where most beginner bugs (and security issues) come from.

Pointer declaration — cppreference ↗ cppreference ↗ Standard C++ Foundation ↗ Checked Jul 2026
SafeCompiling a program
g++ -o myprogram myprogram.cpp
./myprogram

Unlike Python (interpreted line by line) or Java (compiled to bytecode for the JVM), C++ compiles straight to a native executable for your specific OS and architecture.

You have to explicitly recompile after every code change — there's no "just re-run it" the way there is with an interpreted language.

GCC/G++ documentation ↗ cppreference ↗ Standard C++ Foundation ↗ Checked Jul 2026
Common issue walkthrough

Program will not compile or crashes

  1. Fix the first compiler error first; later ones are often side effects.
  2. Check pointers and array bounds.
  3. Compile with warnings on (-Wall).
CSS — Fundamentals
SafeSelectors & specificity
#header { color: blue; }        /* ID selector — highest specificity */
.card { padding: 10px; }        /* class selector */
p { font-size: 14px; }          /* element selector — lowest specificity */

Inline styles beat all of these, and !important overrides everything — use both sparingly, since they make later overrides harder.

Specificity conflicts are the single most common source of "why isn't my CSS applying" confusion — knowing the hierarchy (inline > ID > class > element) resolves most of them.

CSS selectors — MDN Web Docs ↗ MDN CSS guide ↗ web.dev Learn CSS ↗ Checked Jul 2026
SafeThe box model
.box {
  width: 200px;
  padding: 10px;
  border: 1px solid #333;
  margin: 20px;
  box-sizing: border-box;
}

box-sizing: border-box makes width include padding and border — without it, padding/border add on top of the width you set, which surprises almost everyone at first.

Every visible element on a page is a box made of content, padding, border, and margin — understanding this stack explains most layout confusion.

The box model — MDN Web Docs ↗ MDN CSS guide ↗ web.dev Learn CSS ↗ Checked Jul 2026
SafeFlexbox basics
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

justify-content controls the main axis (horizontal by default), align-items controls the cross axis — mixing those two up is the most common flexbox confusion.

Flexbox is the standard modern approach for arranging items in a row or column without falling back to floats or manual positioning.

Flexbox basics — MDN Web Docs ↗ MDN CSS guide ↗ web.dev Learn CSS ↗ Checked Jul 2026
SafeCommon properties
body {
  font-family: Arial, sans-serif;
  color: #222;
  background-color: #f5f5f5;
}

Always list a generic fallback font family (sans-serif, serif, monospace) last, in case the specific font isn't available on the user's device.

Font, color, and background are the three properties you'll touch on almost every element — worth knowing cold before moving to layout work.

CSS reference — MDN Web Docs ↗ MDN CSS guide ↗ web.dev Learn CSS ↗ Checked Jul 2026
Common issue walkthrough

Style is not applying

  1. Inspect the element in developer tools.
  2. Check selector specificity and order.
  3. Look for a typo in the property or a missing semicolon.
HTML — Fundamentals
SafeBasic document structure
<!DOCTYPE html>
<html>
  <head>
    <title>Page Title</title>
  </head>
  <body>
    <h1>Hello World</h1>
    <p>This is a paragraph.</p>
  </body>
</html>

<!DOCTYPE html> tells the browser to render in standards mode — always include it, even in a quick test page.

Every HTML document follows this same skeleton — head for metadata the page needs, body for what actually renders on screen.

HTML — MDN Web Docs ↗ MDN HTML guide ↗ HTML Living Standard ↗ Checked Jul 2026
SafeCommon tags & semantic elements
<header>...</header>
<nav>...</nav>
<main>...</main>
<section>...</section>
<article>...</article>
<footer>...</footer>

Semantic tags describe the meaning of content, not just its appearance — a <div> works visually too, but tells a screen reader or search engine nothing.

Using the right semantic element instead of a generic <div> everywhere is one of the cheapest accessibility and SEO wins available.

HTML semantics — MDN Web Docs ↗ MDN HTML guide ↗ HTML Living Standard ↗ Checked Jul 2026
SafeForms & input types
<form action="/submit" method="post">
  <label for="email">Email:</label>
  <input type="email" id="email" name="email" required>
  <button type="submit">Send</button>
</form>

Always pair a <label> with its input via the for/id attributes — screen readers depend on that link to announce what the field is for.

Using the correct input type (email, tel, number, date) gets you free browser-side validation and the right on-screen keyboard on mobile.

HTML forms guide — MDN Web Docs ↗ MDN HTML guide ↗ HTML Living Standard ↗ Checked Jul 2026
SafeLinks, images & tables
<a href="https://example.com">Visit site</a>
<img src="logo.png" alt="Company logo">
<table>
  <tr><th>Name</th><th>Status</th></tr>
  <tr><td>Server01</td><td>Online</td></tr>
</table>

The alt attribute on <img> isn't optional — it's what screen readers announce, and what shows if the image fails to load.

These three elements cover the majority of static content pages — navigation, visuals, and tabular data.

img element — MDN Web Docs ↗ MDN HTML guide ↗ HTML Living Standard ↗ Checked Jul 2026
Common issue walkthrough

Page looks broken

  1. Validate the HTML for unclosed tags.
  2. Open browser developer tools (F12) and inspect the element.
  3. Check the console for errors.
IBM Db2 (AIX / Unix)
SafeIBM Db2Connect and look around (Db2 command line)
db2 connect to DBNAME
db2 "values current timestamp"
db2 list applications
db2 list tablespaces show detail
db2 "select tabname from syscat.tables where tabschema = 'MYSCHEMA'"
db2 describe table MYSCHEMA.MYTABLE
db2 terminate

Quick checks from the Db2 command line processor: connection, running applications, space, and table definitions.

db2pd command — IBM ↗ Db2 documentation — IBM ↗ GET SNAPSHOT — IBM ↗ Checked Jul 2026
SafeIBM Db2Find locks and who holds them
db2pd -db DBNAME -locks
db2pd -db DBNAME -applications
db2 get snapshot for locks on DBNAME

Shows lock holders and waiters. db2pd reads memory directly and is low impact.

db2pd command — IBM ↗ GET SNAPSHOT command — IBM ↗ Db2 documentation — IBM ↗ Checked Jul 2026
SafeIBM Db2Look up an SQLCODE and capture an explain plan
db2 "? SQL0204N"          # message text for SQL0204N
db2 set current explain mode explain
db2 -tvf query.sql          # compile only, not run
db2 set current explain mode no
db2exfmt -d DBNAME -1 -o plan.txt

Explain tables must exist first (see the EXPLAIN.DDL file in sqllib/misc).

db2 "? SQLnnnnN" shows the explanation and fix for an error. db2exfmt formats the access plan from the explain tables.

Monitoring and troubleshooting with db2pd — IBM ↗ Db2 documentation — IBM ↗ db2pd command — IBM ↗ Checked Jul 2026
ProcessIBM Db2Common Db2 SQLCODEs
  1. -104: syntax error — check the token the message points to.
  2. -204: object not found — wrong name, schema, or missing table.
  3. -206: column not found in the table.
  4. -407: NULL inserted into a NOT NULL column.
  5. -551: not authorized — missing privilege.
  6. -803: duplicate key on unique index.
  7. -805: package not found — bind issue.
  8. -911 / -913: deadlock or lock timeout; the unit of work was rolled back — retry.
  9. +100: no rows found.

The most frequent codes seen when debugging Db2 batch jobs and queries.

Monitoring and troubleshooting with db2pd — IBM ↗ Db2 documentation — IBM ↗ db2pd command — IBM ↗ Checked Jul 2026
SafeIBM Db2Deadlocks and lock timeouts (Db2)
db2 get db cfg for DBNAME | grep -i -E "LOCKTIMEOUT|DLCHKTIME|LOCKLIST|MAXLOCKS"
db2pd -db DBNAME -locks wait
db2 "select * from sysibmadm.mon_lock_waits"
db2 list applications show detail
# Look for SQL0911N (reason code 2 = deadlock, 68 = timeout) in the db2diag.log

DLCHKTIME is how often Db2 checks for deadlocks and LOCKTIMEOUT is how long a lock wait may last. The waiting and holding applications are shown by the lock-wait views.

db2pd command — IBM ↗ Monitoring with db2pd — IBM ↗ Db2 documentation — IBM ↗ Checked Jul 2026
Big changeIBM Db2Force off a blocking application (Db2)
db2 list applications          # note the application handle
db2 "force application (123)"  # replace 123 with the handle

Interrupts a running batch job — notify the owner first.

Disconnects the application and rolls back its work. Use only after confirming what it is doing.

db2pd command — IBM ↗ Db2 documentation — IBM ↗ GET SNAPSHOT command — IBM ↗ Checked Jul 2026
SafeIBM Db2Version, instances, and configuration
db2level
db2ilist
db2 get instance
db2 get dbm cfg | more
db2 get db cfg for DBNAME | more
db2 list db directory

Shows the Db2 version, instances on the server, and configuration parameters.

Db2 documentation — IBM ↗ db2pd command — IBM ↗ Monitoring and troubleshooting Db2 — IBM ↗ Checked Jul 2026
SafeIBM Db2Read the Db2 diagnostic log
db2diag -H 1d                  # entries from the last day
db2diag -l Error,Severe -H 4h  # errors only, last 4 hours
db2diag -g 'db=DBNAME'
# default location: ~/sqllib/db2dump/db2diag.log

First place to look for crashes, lock escalation, log full, and storage problems.

Monitoring and troubleshooting Db2 — IBM ↗ Db2 documentation — IBM ↗ db2pd command — IBM ↗ Checked Jul 2026
SafeIBM Db2Tablespaces and space
db2 list tablespaces show detail
db2 list tablespace containers for <tbsp-id> show detail
db2 "select tbsp_name, tbsp_utilization_percent from sysibmadm.tbsp_utilization"
df -g

Full tablespaces cause failed loads and inserts (SQL0289N, SQL0968C). Check both Db2 and the filesystem under it.

Db2 documentation — IBM ↗ Monitoring and troubleshooting Db2 — IBM ↗ db2pd command — IBM ↗ Checked Jul 2026
Minor changeIBM Db2Backup history and taking a backup
db2 list history backup all for DBNAME
db2 backup database DBNAME to /backup compress
# online backup requires archive logging:
db2 backup database DBNAME online to /backup compress

Restore is a Big change — never run it without approval.

Always confirm the last good backup before any risky change. Backups use I/O, so follow the approved window.

Db2 documentation — IBM ↗ Monitoring and troubleshooting Db2 — IBM ↗ db2pd command — IBM ↗ Checked Jul 2026
Minor changeIBM Db2RUNSTATS and REORG
db2 reorgchk update statistics on table all
db2 runstats on table MYSCHEMA.MYTABLE with distribution and detailed indexes all
db2 reorg table MYSCHEMA.MYTABLE
db2 runstats on table MYSCHEMA.MYTABLE with distribution and detailed indexes all

REORG locks the table — run in a quiet window.

Fresh statistics help the optimizer choose good plans; REORG reclaims space and fixes fragmentation. Run REORG, then RUNSTATS again.

Db2 documentation — IBM ↗ Monitoring and troubleshooting Db2 — IBM ↗ db2pd command — IBM ↗ Checked Jul 2026
SafeIBM Db2Export data and extract table DDL
db2 "export to /tmp/out.csv of del select * from MYSCHEMA.MYTABLE where load_date = current date"
db2look -d DBNAME -e -t MYSCHEMA.MYTABLE -o /tmp/mytable.ddl
db2 describe table MYSCHEMA.MYTABLE
db2 describe indexes for table MYSCHEMA.MYTABLE show detail

Exports can contain PHI — store and send them only through approved, secured paths.

Pulls a sample of data or the structure of a table for troubleshooting without changing anything.

Db2 documentation — IBM ↗ Monitoring and troubleshooting Db2 — IBM ↗ db2pd command — IBM ↗ Checked Jul 2026
Big changeIBM Db2Start and stop an instance
db2 list applications          # who is connected?
db2stop                        # stop the instance
db2start

Only with approval and a maintenance window. db2stop force disconnects everyone.

db2stop fails if applications are connected unless forced. Needed after some configuration changes.

Db2 documentation — IBM ↗ db2pd command — IBM ↗ Monitoring and troubleshooting Db2 — IBM ↗ Checked Jul 2026
ProcessIBM Db2Load failed or rejected rows — what to check
  1. Read the job log and the Db2 message (SQLCODE) for the first error.
  2. Check the reject/exception file for the rows and the reason.
  3. Common causes: duplicate key (-803), value too long (-302/-433), invalid date, NOT NULL violated (-407), tablespace full (-289), lock timeout (-911/-913).
  4. Confirm the source file is complete and not truncated.
  5. Compare source row count to table row count after correction.
  6. Rerun only the failed portion and document what was fixed.

A repeatable way to work through a failed data load.

Db2 documentation — IBM ↗ Monitoring and troubleshooting Db2 — IBM ↗ db2pd command — IBM ↗ Checked Jul 2026
Common issue walkthrough

Batch job fails with an SQLCODE

  1. Find the SQLCODE in the job log.
  2. Look it up with db2 "? SQLxxxxN".
  3. For -911/-913 check locks with db2pd -locks.
  4. For -204/-551 confirm object name and privileges.
Java — Fundamentals
SafeVariables & data types
int count = 5;
double price = 19.99;
String name = "Server01";
boolean isActive = true;
System.out.println(name + " has " + count + " users");

Java is statically typed — you declare the type up front, unlike Python or JavaScript where the type is inferred from the value.

Declaring types explicitly catches a class of bugs at compile time that dynamically-typed languages only catch at runtime.

Java tutorial: variables — Oracle ↗ Dev.java learn ↗ Java SE documentation — Oracle ↗ Checked Jul 2026
SafeClasses & objects
public class Device {
    String hostname;
    boolean online;

    Device(String hostname, boolean online) {
        this.hostname = hostname;
        this.online = online;
    }
}

Device d = new Device("Server01", true);

Every Java program needs at least one class, and the .java filename must match the public class name exactly.

Java is fully object-oriented — everything lives inside a class, which is a bigger structural commitment than scripting languages require up front.

Java tutorial: classes — Oracle ↗ Dev.java learn ↗ Java SE documentation — Oracle ↗ Checked Jul 2026
SafeControl flow
for (int i = 0; i < 5; i++) {
    System.out.println(i);
}

if (count > 0) {
    System.out.println("Active");
} else {
    System.out.println("Idle");
}

Java's for loop uses the classic init/condition/increment form — closer to C++ than to Python's for-in style.

This C-style for loop pattern shows up in Java, C++, and C# almost identically — learning it once transfers directly across all three.

Java tutorial: control flow — Oracle ↗ Dev.java learn ↗ Java SE documentation — Oracle ↗ Checked Jul 2026
SafeMethods
public int addNumbers(int a, int b) {
    return a + b;
}

A method's return type must be declared and must match what it actually returns — use void if it doesn't return anything.

Java's term for what Python calls a "function" — the same concept, but always attached to a class rather than standing alone.

Java tutorial: methods — Oracle ↗ Dev.java learn ↗ Java SE documentation — Oracle ↗ Checked Jul 2026
Common issue walkthrough

Compile or runtime error

  1. Read the first error line and file/line number.
  2. Check for missing semicolons, braces, or imports.
  3. Read the stack trace from the top for the cause.
PowerShell — Basics & Setup
SafeVersion, discovery, help
$PSVersionTable.PSVersion
Get-Command *Mailbox*
Get-Help Get-Process -Examples

PSVersionTable and Get-Command/Get-Help are the fastest way to confirm what's installed before troubleshooting module or syntax differences.

Get-Command — Microsoft Learn ↗ about_Execution_Policies — Microsoft Learn ↗ Install-Module — Microsoft Learn ↗ Checked Jul 2026
SafeModules — list / load
Get-Module -ListAvailable
Import-Module ActiveDirectory

Get-Module/Import-Module surface which modules (AD, Exchange, Graph) are available or need loading before a cmdlet will work.

Import-Module — Microsoft Learn ↗ about_Execution_Policies — Microsoft Learn ↗ Install-Module — Microsoft Learn ↗ Checked Jul 2026
Minor changeInstall / update modules
Install-Module ExchangeOnlineManagement -Scope CurrentUser
Update-Module ExchangeOnlineManagement

Needs internet/admin depending on policy.

Installs or refreshes a PowerShell module from the gallery. Scope CurrentUser avoids needing local admin.

Install-Module — Microsoft Learn ↗ about_Execution_Policies — Microsoft Learn ↗ PowerShell 7 vs Windows PowerShell — Microsoft Learn ↗ Checked Jul 2026
SafeSession transcript for ticket evidence
$log="$env:USERPROFILE\Desktop\PS-Log-$(Get-Date -f yyyyMMdd-HHmm).txt"
Start-Transcript $log
# ...work...
Stop-Transcript

Captures every command and its output to a text file — the standard way to attach proof of work to a ticket.

Start-Transcript — Microsoft Learn ↗ about_Execution_Policies — Microsoft Learn ↗ Install-Module — Microsoft Learn ↗ Checked Jul 2026
SafeOutput shaping for tickets
Get-Service | Out-GridView
Get-Process | Export-Csv "$env:USERPROFILE\Desktop\processes.csv" -NoTypeInformation
Get-ComputerInfo | select CsName,OsName,OsVersion

Out-GridView gives an interactive filterable table; Export-Csv is the standard way to hand off results as ticket evidence.

Export-Csv — Microsoft Learn ↗ about_Execution_Policies — Microsoft Learn ↗ Install-Module — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Script blocked by execution policy

  1. Check the current policy: Get-ExecutionPolicy -List.
  2. If it's blocking a trusted script, scope a fix to the current user: Set-ExecutionPolicy -Scope CurrentUser RemoteSigned.
  3. For a one-off run instead of a policy change: powershell -ExecutionPolicy Bypass -File script.ps1.
  4. Re-run and confirm the "cannot be loaded" error is gone.

Module cmdlets not found after install

  1. Confirm it actually installed: Get-Module -ListAvailable ModuleName.
  2. Import it explicitly: Import-Module ModuleName.
  3. Check PowerShell 7 vs Windows PowerShell 5.1 — some modules are edition-specific.
  4. Re-run Get-Command *Keyword* to confirm the cmdlets are visible.
Python — APIs & Error Handling
SafeMaking an HTTP request
import requests
response = requests.get("https://api.example.com/status")
print(response.status_code)
print(response.json())

requests isn't in the standard library — install it first with pip install requests.

The go-to library for calling REST APIs from Python — the same kind of calls this guide makes with Invoke-RestMethod in PowerShell.

Requests documentation ↗ Errors and exceptions — Python docs ↗ Requests documentation ↗ Checked Jul 2026
Safetry / except error handling
try:
    value = int(user_input)
except ValueError:
    print("That wasn't a valid number.")
finally:
    print("Done processing input.")

Catch the specific exception type (ValueError, FileNotFoundError, etc.) rather than a bare except — a bare except can silently hide real bugs.

Error handling is what turns a fragile one-off script into something safe to run unattended or on a schedule.

Python tutorial: handling exceptions ↗ Errors and exceptions — Python docs ↗ Requests documentation ↗ Checked Jul 2026
SafeReading environment variables / secrets safely
import os
api_key = os.environ.get("API_KEY")
if not api_key:
    raise RuntimeError("API_KEY environment variable is not set")

Never hardcode API keys or passwords directly in a script — environment variables keep secrets out of source code and version control.

This is the same principle behind $cwAuthHeaders-style variables elsewhere in this guide — keep credentials out of the script body itself.

os.environ — Python Docs ↗ Errors and exceptions — Python docs ↗ Requests documentation ↗ Checked Jul 2026
Common issue walkthrough

API call fails

  1. Print the status code and response text.
  2. Check the URL, headers, and auth token.
  3. Wrap the call in try/except and log the error.
Python — File I/O & Automation
Minor changeReading & writing text files
with open("servers.txt", "r") as f:
    lines = f.readlines()

with open("output.txt", "w") as f:
    f.write("Job completed successfully\n")

The "with" statement automatically closes the file even if an error occurs — always prefer it over manual open()/close() pairs.

File reads/writes are the backbone of most simple automation scripts — pulling a list of hosts to process, or logging a job's results.

Reading and writing files — Python Docs ↗ subprocess — Python docs ↗ csv — Python docs ↗ Checked Jul 2026
SafeWorking with CSV files
import csv
with open("devices.csv", newline="") as f:
    reader = csv.DictReader(f)
    for row in reader:
        print(row["Hostname"], row["IPAddress"])

DictReader uses the first row as column headers automatically — no manual index tracking needed.

CSV is the most common hand-off format between spreadsheets, exported reports, and scripts — this pattern covers the vast majority of "process this list of devices/users" tasks.

csv — Python Docs ↗ Reading and writing files — Python docs ↗ subprocess — Python docs ↗ Checked Jul 2026
Minor changeRunning a shell command from Python
import subprocess
result = subprocess.run(["ipconfig", "/all"], capture_output=True, text=True)
print(result.stdout)

Pass the command as a list of arguments (not one big string) — it avoids shell-injection issues if any part of the command comes from user input.

Lets a Python script drive existing command-line tools (ipconfig, ping, PowerShell itself) instead of reimplementing that logic natively.

subprocess — Python Docs ↗ Reading and writing files — Python docs ↗ csv — Python docs ↗ Checked Jul 2026
SafeWalking a directory tree
import os
for root, dirs, files in os.walk("C:\\Logs"):
    for name in files:
        if name.endswith(".log"):
            print(os.path.join(root, name))

os.walk visits every subfolder automatically — no manual recursion needed.

The standard way to find every file matching a pattern (logs, configs, old backups) across an entire folder structure.

os.walk — Python Docs ↗ Reading and writing files — Python docs ↗ subprocess — Python docs ↗ Checked Jul 2026
Common issue walkthrough

Script cannot read or write a file

  1. Check the path and current working directory.
  2. Check permissions.
  3. Use with open(...) so the file closes.
Python — Functions & Data Structures
SafeFunctions & variable scope
x = "awesome"

def myfunc():
    global x
    x = "fantastic"     # without 'global', this would create a separate local x instead

myfunc()
print("Python is " + x)   # prints "Python is fantastic"

A variable created inside a function is local to that function by default — the global keyword is what lets a function modify a variable defined outside it.

This scoping rule trips up a lot of people coming from scripting languages with looser scope rules — forgetting global is a common source of "why isn't my variable updating" bugs.

Python tutorial: defining functions ↗ Data structures — Python docs ↗ Real Python ↗ Checked Jul 2026
SafeData types & type casting
animals = ["Cat","Dog","Bird"]
print(type(animals))     # <class 'list'>

x = int(1)                # forces integer: 1
y = int(2.8)               # forces integer: 2 (truncated, not rounded)

Common types: str (text), int/float/complex (numbers), list/tuple/range (sequences), dict (key-value pairs), set, bool, and None.

type() is the fastest way to debug a script that's throwing a type-related error — confirming what a variable actually holds instead of assuming.

Python built-in types — Python Docs ↗ Python tutorial — functions ↗ Data structures — Python docs ↗ Checked Jul 2026
SafeDictionaries (key-value pairs)
user = {"name": "Jesse", "role": "Technical Support", "active": True}
print(user["name"])
user["role"] = "SOC Analyst"       # update a value
for key, value in user.items():
    print(key, "=", value)

Use user.get("role") instead of user["role"] when a key might not exist — .get() returns None instead of raising a KeyError.

Dictionaries are the Python equivalent of a PowerShell hashtable — the standard structure for anything you'd otherwise track as name/value pairs.

Python tutorial: dictionaries ↗ Python tutorial — functions ↗ Data structures — Python docs ↗ Checked Jul 2026
SafeUseful built-ins: len() & random
a = "Hello, World!"
print(len(a))                    # character length of a string

import random
print(random.randrange(1, 10))   # random integer, 1-9

len() works on strings, lists, and most other sequence types — not just strings.

The random module is handy for scripts that need test data, sampling, or randomized delays (e.g. staggering a bulk operation to avoid rate limits).

random — Python Docs ↗ Python tutorial — functions ↗ Data structures — Python docs ↗ Checked Jul 2026
Common issue walkthrough

Function returns the wrong thing

  1. Print the inputs and outputs.
  2. Check for variables changed inside the function.
  3. Check the return value type.
Python — Fundamentals
SafeVariables & basic math
x = 1
y = 5
z = x + y
print("z =", z)

No declaration keyword needed — assigning a value with = creates the variable on the spot.

Python infers the type from the value you assign, unlike PowerShell where you'll sometimes see explicit typing — this is the most basic building block everything else sits on top of.

Python tutorial: variables & expressions ↗ Python tutorial ↗ PEP 8 style guide ↗ Checked Jul 2026
SafeStrings & multiple assignment
name = 'John'          # single or double quotes both work
x, y, z = "Orange", "Banana", "Cherry"   # assign 3 variables in one line
print(name, x, y, z)

Multiple assignment in one line is a common Python shorthand — PowerShell doesn't have a direct equivalent.

Useful for scripts that pull several related values at once (e.g. splitting a CSV row) without writing a separate assignment line for each.

Python tutorial: strings ↗ Python tutorial ↗ PEP 8 style guide ↗ Checked Jul 2026
SafeLists & unpacking
animals = ["Cat","Dog","Bird","Deer","Fox","Bear"]
print("List:", animals)

fruits = ["apple", "banana", "cherry"]
a, b, c = fruits              # unpacking — a='apple', b='banana', c='cherry'

Lists are the Python equivalent of a PowerShell array — square brackets, comma-separated, and indexed from 0.

Unpacking a list straight into named variables is a common pattern for making script output readable instead of referencing animals[0], animals[1], etc.

Python tutorial: data structures ↗ Python tutorial ↗ PEP 8 style guide ↗ Checked Jul 2026
SafeConditionals (if statements)
if 5 > 2:
    print("Five is greater than two!")

Indentation is not optional in Python — it's how the language knows what belongs inside the if block, unlike PowerShell's curly braces.

Mixing tabs and spaces for indentation is one of the most common beginner errors and will throw an IndentationError — pick one and stay consistent.

Python tutorial: if statements ↗ Python tutorial ↗ PEP 8 style guide ↗ Checked Jul 2026
SafeLoops — for & while
for i in range(5):
    print(i)              # prints 0,1,2,3,4 — not 5

fruits = ["apple", "banana", "cherry"]
for fruit in fruits:
    print(fruit)

count = 0
while count < 3:
    print(count)
    count += 1

range(5) generates 0 through 4, not 0 through 5 — a very common off-by-one trip-up.

Python's for loop iterates directly over items in a collection — no manual index or counter needed, unlike the classic C-style for loop in Java or C++.

Python tutorial: for statements ↗ Python tutorial ↗ PEP 8 style guide ↗ Checked Jul 2026
Common issue walkthrough

A script will not run

  1. Read the traceback from the bottom up.
  2. Check indentation and typos on the named line.
  3. Print variables to see their values.

Learning a new concept

  1. Try it in the Python prompt.
  2. Change one thing at a time.
  3. Read the matching docs page.
Shell Scripting (ksh / bash)
SafeLinux / Unix / AIXDebug a shell script
bash -n script.sh      # syntax check only
bash -x script.sh      # trace every command
set -x                 # turn tracing on inside a script
set -e                 # stop on first error
set -u                 # error on unset variables
trap 'echo failed at line $LINENO' ERR
shellcheck script.sh   # lint (if installed)

Tracing and strict modes show where a script goes wrong. ksh on AIX supports set -x and trap too.

GNU Bash manual ↗ ShellCheck ↗ crontab(5) — man7 ↗ Checked Jul 2026
SafeLinux / Unix / AIXExit codes, logging, and common patterns
command; echo "exit code: $?"
./job.sh >> /var/log/job.log 2>&1    # append stdout+stderr to a log
tail -f /var/log/job.log             # follow the log
grep -i error /var/log/job.log | tail -20
awk '{print $1,$NF}' file            # first and last column
sed -n '10,20p' file                 # print lines 10-20

Exit code 0 means success. Scripts run by cron/schedulers should always redirect output to a log.

GNU Bash manual ↗ ShellCheck ↗ crontab(5) — man7 ↗ Checked Jul 2026
ProcessLinux / Unix / AIXScript works by hand but fails under cron or a scheduler
  1. Use full paths for every command and file; cron has a minimal PATH.
  2. Set needed variables inside the script (or source the profile).
  3. Redirect output to a log so errors are visible.
  4. Check file permissions and that the script is executable.
  5. Confirm the scheduler's user has access to everything the script touches.
  6. Test with env -i /path/script.sh to mimic a clean environment.

Most "works for me" failures are environment differences.

cron — Linux man page ↗ GNU Bash manual ↗ ShellCheck ↗ Checked Jul 2026
Common issue walkthrough

Script fails only in production

  1. Run with bash -x and log the output.
  2. Compare PATH and user between manual and scheduled runs.
  3. Fix paths and permissions, then rerun.
SQL — Date & Data Checks
SafeDate range filters (avoid the BETWEEN trap)
-- Good: half-open range, works for date, datetime and datetime2, and can use an index
SELECT * FROM orders
WHERE order_date >= '2026-11-01' AND order_date < '2026-12-01';

-- Yesterday only (SQL Server)
WHERE order_date >= CAST(DATEADD(day,-1,GETDATE()) AS date)
  AND order_date <  CAST(GETDATE() AS date);

-- Avoid: BETWEEN '2026-11-01' AND '2026-11-30' drops rows after midnight on the 30th
-- Avoid: WHERE YEAR(order_date) = 2026   (function on the column = no index use)

Use >= start and < next-day-start so time-of-day values are never lost. Wrapping the column in a function forces a scan.

DATEADD — Microsoft Learn ↗ Date and time functions — Microsoft Learn ↗ Transact-SQL reference — Microsoft Learn ↗ Checked Jul 2026
SafeCurrent date and date math (SQL Server vs Db2)
-- SQL Server
SELECT GETDATE(), SYSDATETIME(), CAST(GETDATE() AS date);
SELECT DATEADD(day,-7,GETDATE());
SELECT DATEDIFF(day,'2026-11-01',GETDATE());
SELECT EOMONTH(GETDATE());

-- IBM Db2
VALUES CURRENT DATE;
VALUES CURRENT TIMESTAMP;
VALUES CURRENT DATE - 7 DAYS;
VALUES DAYS(CURRENT DATE) - DAYS(DATE('2026-11-01'));

The two engines use different functions for the same ideas. Db2 uses special registers and labeled durations such as - 7 DAYS.

Date and time functions — Microsoft Learn ↗ DATEDIFF — Microsoft Learn ↗ Db2 documentation — IBM ↗ Checked Jul 2026
SafeCheck data freshness (latest record and gaps)
-- When was the newest row written?
SELECT MAX(created_at) AS newest FROM tbl;

-- Rows per day for the last 14 days (missing days = gaps)
SELECT CAST(created_at AS date) AS day, COUNT(*) AS rows_in_day
FROM tbl
WHERE created_at >= DATEADD(day,-14,CAST(GETDATE() AS date))
GROUP BY CAST(created_at AS date)
ORDER BY day;

The first check to run when a report or feed looks stale: has data actually arrived, and when did it stop?

GROUP BY — Microsoft Learn ↗ Date and time functions — Microsoft Learn ↗ Transact-SQL reference — Microsoft Learn ↗ Checked Jul 2026
SafeFind bad or suspicious dates
-- Future dates, defaults and NULLs
SELECT * FROM tbl WHERE created_at > GETDATE();
SELECT * FROM tbl WHERE created_at IN ('1900-01-01','1753-01-01','9999-12-31');
SELECT * FROM tbl WHERE created_at IS NULL;

-- End before start
SELECT * FROM tbl WHERE end_date < start_date;

Placeholder dates (1900-01-01, 9999-12-31) and reversed ranges are common causes of wrong totals and failed batch jobs.

Date and time functions — Microsoft Learn ↗ CAST and CONVERT — Microsoft Learn ↗ Transact-SQL reference — Microsoft Learn ↗ Checked Jul 2026
SafeDate format and conversion errors
-- SQL Server
SELECT ISDATE('2026-13-45');                    -- 0 = not a valid date
SELECT TRY_CONVERT(date,'11/19/2026',101);      -- NULL instead of an error
SELECT CONVERT(varchar(10), GETDATE(), 23);     -- yyyy-mm-dd (safest format)
SET DATEFORMAT mdy;

-- IBM Db2
VALUES TO_DATE('2026-11-19','YYYY-MM-DD');
VALUES VARCHAR_FORMAT(CURRENT TIMESTAMP,'YYYY-MM-DD HH24:MI:SS');

Use ISO yyyy-mm-dd wherever possible. "Conversion failed when converting date" usually means a text value in a different order (dd/mm vs mm/dd).

CAST and CONVERT — Microsoft Learn ↗ TRY_CONVERT — Microsoft Learn ↗ Db2 documentation — IBM ↗ Checked Jul 2026
SafeSQL ServerTime zones and UTC
SELECT SYSUTCDATETIME();                       -- UTC now
SELECT SYSDATETIMEOFFSET();                    -- local time with offset
SELECT created_at AT TIME ZONE 'UTC'
       AT TIME ZONE 'Eastern Standard Time' FROM tbl;

Many systems store UTC. Convert to local time before comparing against a report window, or the cutoff will be off by hours.

AT TIME ZONE — Microsoft Learn ↗ Date and time functions — Microsoft Learn ↗ Transact-SQL reference — Microsoft Learn ↗ Checked Jul 2026
SafeSQL ServerLast backup and job run dates (SQL Server)
-- Last backup per database
SELECT database_name, type, MAX(backup_finish_date) AS last_backup
FROM msdb.dbo.backupset
GROUP BY database_name, type
ORDER BY database_name;   -- D=full, I=diff, L=log

-- Failed SQL Agent job steps in the last 3 days
SELECT j.name, h.step_name, h.run_date, h.run_time, h.message
FROM msdb.dbo.sysjobhistory h
JOIN msdb.dbo.sysjobs j ON j.job_id = h.job_id
WHERE h.run_status = 0
  AND h.run_date >= CONVERT(int, CONVERT(char(8), DATEADD(day,-3,GETDATE()), 112))
ORDER BY h.run_date DESC, h.run_time DESC;

Confirms backups are current and shows which scheduled jobs failed and why. run_status: 0 failed, 1 succeeded, 2 retry, 3 canceled.

backupset — Microsoft Learn ↗ sysjobhistory — Microsoft Learn ↗ Transact-SQL reference — Microsoft Learn ↗ Checked Jul 2026
SafeRow counts, space, and orphan rows
EXEC sp_spaceused 'dbo.TableName';              -- rows and size
SELECT COUNT(*) FROM dbo.TableName;

-- Child rows with no parent
SELECT c.*
FROM child c LEFT JOIN parent p ON p.id = c.parent_id
WHERE p.id IS NULL;

Quick sanity checks before and after a load or fix. Orphan rows point to a failed delete or a load run in the wrong order.

sp_spaceused — Microsoft Learn ↗ Transact-SQL reference — Microsoft Learn ↗ Db2 documentation — IBM ↗ Checked Jul 2026
Common issue walkthrough

Report or feed looks stale

  1. Run MAX(created_at) to see when data last arrived.
  2. Check rows per day to find where it stopped.
  3. Check the last backup and the job history for failures.
  4. Check time zone and date range filters before blaming the data.

Date filter returns the wrong rows

  1. Replace BETWEEN with >= start AND < next day.
  2. Remove functions from the filtered column.
  3. Check for placeholder, NULL, and future dates.
  4. Confirm UTC vs local time.
SQL — Debugging Queries
ProcessDebug a query that errors or returns wrong data
  1. Read the full error: note the number, line, and object name.
  2. Run the query in pieces: start with the inner SELECT or one table, then add joins one at a time.
  3. Replace the column list with COUNT(*) after each join to spot row multiplication.
  4. Check join keys: duplicates on the "one" side multiply rows; NULL keys never match.
  5. Check data types and implicit conversions (text vs number vs date).
  6. Check WHERE vs ON with LEFT JOIN: a WHERE filter on the right table turns it into an inner join.
  7. Compare a few rows by hand against the source system.
  8. Fix, rerun, and keep the query that proved the fix.

Building a query up one step at a time finds the exact step where the results go wrong.

SELECT — Microsoft Learn ↗ Joins — Microsoft Learn ↗ Transact-SQL reference — Microsoft Learn ↗ SQL Server documentation — Microsoft Learn ↗ Checked Jul 2026
SafeFind duplicates and row multiplication
-- duplicate keys
SELECT col, COUNT(*) AS n
FROM tbl
GROUP BY col
HAVING COUNT(*) > 1;

-- row counts before and after a join
SELECT COUNT(*) FROM a;
SELECT COUNT(*) FROM a JOIN b ON a.id = b.a_id;

-- rows in A with no match in B
SELECT a.*
FROM a LEFT JOIN b ON a.id = b.a_id
WHERE b.a_id IS NULL;

Duplicates on the joined side are the most common reason a query returns too many rows.

GROUP BY — Microsoft Learn ↗ Transact-SQL reference — Microsoft Learn ↗ SQL Server documentation — Microsoft Learn ↗ Checked Jul 2026
SafeNULL and data type gotchas
-- NULL is never equal to anything, use IS NULL
WHERE col IS NULL
-- replace NULLs
SELECT COALESCE(col, 'n/a') FROM tbl;
-- check conversions before they fail
SELECT TRY_CAST(col AS INT) FROM tbl WHERE TRY_CAST(col AS INT) IS NULL AND col IS NOT NULL;
-- trailing spaces / case
SELECT col FROM tbl WHERE LTRIM(RTRIM(col)) <> col;

= NULL returns nothing. TRY_CAST (SQL Server) finds values that would break a conversion. Db2 uses COALESCE and CAST the same way.

NULL and UNKNOWN — Microsoft Learn ↗ Transact-SQL reference — Microsoft Learn ↗ SQL Server documentation — Microsoft Learn ↗ Checked Jul 2026
Minor changeTest a data change safely
-- 1. Preview exactly what will change
SELECT * FROM tbl WHERE <same WHERE as the update>;
-- 2. Run inside a transaction
BEGIN TRAN;
UPDATE tbl SET col = 'x' WHERE <condition>;
SELECT @@ROWCOUNT;      -- does it match the preview?
-- 3. Looks right? COMMIT; otherwise:
ROLLBACK;

Open transactions hold locks — finish with COMMIT or ROLLBACK quickly.

Previewing with a SELECT, then checking the row count inside a transaction, prevents most bad UPDATE/DELETE mistakes. In Db2 use db2 +c (autocommit off), then db2 commit or db2 rollback.

BEGIN TRANSACTION — Microsoft Learn ↗ Transact-SQL reference — Microsoft Learn ↗ SQL Server documentation — Microsoft Learn ↗ Checked Jul 2026
SafeSQL ServerCapture error details with TRY...CATCH
BEGIN TRY
    -- statement to test
    SELECT 1/0;
END TRY
BEGIN CATCH
    SELECT ERROR_NUMBER() AS num, ERROR_SEVERITY() AS sev,
           ERROR_LINE() AS line, ERROR_PROCEDURE() AS proc,
           ERROR_MESSAGE() AS msg;
END CATCH;

Returns the number, line, and message of the failing statement so it can be logged or reported.

TRY...CATCH — Microsoft Learn ↗ Transact-SQL reference — Microsoft Learn ↗ SQL Server documentation — Microsoft Learn ↗ Checked Jul 2026
ProcessRetry-safe error codes to recognize
  1. SQL Server 1205: chosen as deadlock victim — retry the transaction.
  2. SQL Server 1222: lock request timeout — find the blocker.
  3. SQL Server 2627 / 2601: duplicate key.
  4. SQL Server 515: NULL inserted into a NOT NULL column.
  5. SQL Server 8115 / 245 / 8114: arithmetic overflow or conversion failure — check types and dates.
  6. Db2 SQL0911N / SQL0913N: deadlock or timeout — retry.
  7. Db2 SQL0803N: duplicate key.

Know which errors are safe to retry (deadlock, timeout) and which need a data or code fix.

Database engine errors — Microsoft Learn ↗ Deadlocks guide — Microsoft Learn ↗ Db2 documentation — IBM ↗ Checked Jul 2026
Common issue walkthrough

Query returns the wrong rows

  1. Run each table by itself and note counts.
  2. Add joins one at a time and watch the count.
  3. Look for duplicate keys, NULLs, and type mismatches.
  4. Fix the join/filter and compare to a known good result.

A data update touched too many rows

  1. Stop and ROLLBACK if still open.
  2. If committed, restore from backup or the audit trail.
  3. Next time preview with SELECT and check @@ROWCOUNT first.
SQL — Performance & Blocking
SafeSQL ServerSee running queries and who is blocking whom (SQL Server)
SELECT r.session_id, r.status, r.blocking_session_id, r.wait_type,
       r.wait_time, r.cpu_time, r.total_elapsed_time, t.text AS sql_text
FROM sys.dm_exec_requests r
CROSS APPLY sys.dm_exec_sql_text(r.sql_handle) t
WHERE r.session_id <> @@SPID
ORDER BY r.total_elapsed_time DESC;

EXEC sp_who2;

A non-zero blocking_session_id shows the session holding the lock. The head of the chain (blocking others but not blocked) is the one to investigate.

sys.dm_exec_requests — Microsoft Learn ↗ Monitor and tune performance — Microsoft Learn ↗ Execution plans — Microsoft Learn ↗ Checked Jul 2026
Big changeSQL ServerKill a blocking session
KILL 57   -- replace 57 with the session_id at the head of the blocking chain

Confirm what the session is doing and with the owner first. A rollback can lock things longer.

Ends a session and rolls back its open transaction, which can take a while for large changes.

KILL — Microsoft Learn ↗ Monitor and tune performance — Microsoft Learn ↗ Execution plans — Microsoft Learn ↗ Checked Jul 2026
SafeSQL ServerRead execution time and I/O for a query
SET STATISTICS IO ON;
SET STATISTICS TIME ON;
-- run the query here
SELECT ...;
-- In SSMS: Ctrl+M shows the actual execution plan

High logical reads or a scan on a large table in the plan usually means a missing index or non-sargable filter (functions on the column).

SET STATISTICS IO — Microsoft Learn ↗ Execution plans — Microsoft Learn ↗ Monitor and tune performance — Microsoft Learn ↗ Deadlocks guide — Microsoft Learn ↗ Checked Jul 2026
Minor changeSQL ServerRefresh statistics and check indexes
UPDATE STATISTICS dbo.TableName;
-- fragmentation
SELECT OBJECT_NAME(object_id) AS tbl, index_id, avg_fragmentation_in_percent
FROM sys.dm_db_index_physical_stats(DB_ID(), NULL, NULL, NULL, 'LIMITED')
WHERE avg_fragmentation_in_percent > 30;

Stale statistics cause bad plans. Updating them is low risk but uses I/O, so avoid peak hours on busy tables.

UPDATE STATISTICS — Microsoft Learn ↗ Monitor and tune performance — Microsoft Learn ↗ Execution plans — Microsoft Learn ↗ Checked Jul 2026
SafeSQL ServerCheck for recent deadlocks
SELECT CAST(target_data AS XML) AS deadlock_xml
FROM sys.dm_xe_session_targets st
JOIN sys.dm_xe_sessions s ON s.address = st.event_session_address
WHERE s.name = 'system_health' AND st.target_name = 'ring_buffer';

The built-in system_health session records deadlock graphs showing both queries involved.

Deadlocks guide — Microsoft Learn ↗ Monitor and tune performance — Microsoft Learn ↗ Execution plans — Microsoft Learn ↗ Checked Jul 2026
ProcessSlow query checklist
  1. Get the actual query text and parameters.
  2. Check what changed: data volume, new code, stats, or schema.
  3. Look at the plan: scans vs seeks, big row estimates that are wrong.
  4. Check blocking and waits at the time of the slowdown.
  5. Avoid functions on filtered columns and SELECT *.
  6. Test an index or rewrite in a non-production copy first.
  7. Document before/after times.
ProcessDeadlocks: read the graph and prevent repeats
  1. Capture the deadlock graph (system_health session above, or Extended Events).
  2. Identify the two victims and the resources each held and wanted.
  3. Look at the order each query touches tables; make every query touch them in the same order.
  4. Keep transactions short: no user input or long work inside BEGIN TRAN.
  5. Add or fix an index so queries lock fewer rows.
  6. Consider RCSI (read committed snapshot) so readers do not block writers.
  7. Make the application retry once on error 1205 (chosen as deadlock victim).
  8. Retest under load and watch for repeats.

A deadlock is two sessions each holding a lock the other needs. The engine kills one (error 1205). Fixing the lock order and transaction length removes most of them.

Deadlocks guide — Microsoft Learn ↗ Deadlock graph — Microsoft Learn ↗ Isolation levels — Microsoft Learn ↗ Checked Jul 2026
SafeSQL ServerOpen transactions and log use
DBCC OPENTRAN;                          -- oldest active transaction in this database
DBCC SQLPERF(LOGSPACE);                 -- log size and % used for every database

SELECT s.session_id, s.login_name, s.host_name, t.transaction_begin_time
FROM sys.dm_tran_active_transactions t
JOIN sys.dm_tran_session_transactions st ON st.transaction_id = t.transaction_id
JOIN sys.dm_exec_sessions s ON s.session_id = st.session_id
ORDER BY t.transaction_begin_time;

A transaction left open for hours holds locks and stops the log from clearing. Find the owner before anything is killed.

DBCC OPENTRAN — Microsoft Learn ↗ Deadlocks guide — Microsoft Learn ↗ Transact-SQL reference — Microsoft Learn ↗ Checked Jul 2026
Minor changeSQL ServerCheck database integrity
DBCC CHECKDB ('DatabaseName') WITH NO_INFOMSGS;

Do not use repair options without a backup and a decision from the DBA.

Scans the database for corruption. It is I/O heavy, so run it off-hours or on a restored copy for large databases.

DBCC CHECKDB — Microsoft Learn ↗ Transact-SQL reference — Microsoft Learn ↗ Deadlocks guide — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Report or job is suddenly slow

  1. Check whether it is blocked or just slow.
  2. Capture the plan and I/O stats.
  3. Update statistics, then retest.
  4. If still slow, review indexes and recent changes.
09 AI & AutomationClaude, Gemini, OpenAI/Azure, Copilot, Thread, Pia, MCP, RAG, SDKs and API calls, ITSM automation recipes, governance, and change management
AI Assistants — Safe Use & Prompting
ProcessWrite a prompt that gets a useful answer
  1. State the role and goal: "You are helping an IT support tech troubleshoot...".
  2. Give context: product, version, exact error text, what you already tried.
  3. Say the format you want: numbered steps, a table, or a command with an explanation.
  4. Set limits: "read-only commands first", "no registry edits".
  5. Ask it to list assumptions and what could go wrong.
  6. Paste only what is needed — remove names, IDs, passwords, and PHI.
  7. Check the answer against the vendor docs before acting on it.

Specific prompts with context and constraints give far better results than short questions.

Prompt engineering overview — Anthropic ↗ NIST AI Risk Management Framework ↗ OWASP Top 10 for LLM applications ↗ Checked Jul 2026
SafePrompt templates for IT work
# Log or error analysis
Here is an error from <product/version> (names and IDs removed): <paste>.
List the three most likely causes in order, how to confirm each with a read-only check, then the fix.

# Script review
Review this PowerShell script for bugs and safety. Point out anything that changes data, lacks error handling, or exposes secrets. Do not rewrite it yet.

# Ticket summary
Summarize this ticket thread in 5 bullets: problem, steps tried, current status, next step, who owns it.

# Knowledge base article
Turn these resolution notes into a short KB article: symptoms, cause, steps, how to verify, rollback.

# Explain a command
Explain what this command does line by line and say if it changes anything: <command>

Reusable prompts for the work you do most. Edit the placeholders and strip sensitive data first.

Prompt engineering overview — Anthropic ↗ NIST AI Risk Management Framework ↗ OWASP Top 10 for LLM applications ↗ Checked Jul 2026
ProcessCheck AI answers before you run anything
  1. Read every command and ask: does it read, or change something?
  2. Look up unfamiliar commands or flags in the official documentation.
  3. Run it first in a lab or on a test device, or add -WhatIf / a dry-run option.
  4. Back up or snapshot before changes.
  5. Watch for invented commands, parameters, or links — AI can make them up.
  6. Get approval through change management for anything that touches production.
  7. Record what you ran and the result in the ticket.

AI is a fast first draft, not an authority. You are responsible for what you run.

OWASP Top 10 for LLM applications ↗ NIST AI Risk Management Framework ↗ Change management — Atlassian ↗ Checked Jul 2026
ProcessWhat never to paste into an AI tool
  1. Passwords, API keys, tokens, private keys, or recovery codes.
  2. PHI or customer personal data (names, member IDs, claims, diagnoses).
  3. Internal IP plans, firewall rules, or full config exports without approval.
  4. Contract or confidential business details.
  5. Anything your policy or a customer agreement forbids sharing.
  6. Use only company-approved AI tools, and only tools with a signed business associate agreement for any PHI.

The safest data is the data that is never shared. Replace real values with placeholders such as <server> and <user>.

HIPAA Security Rule — HHS ↗ Business associate agreements — HHS ↗ NIST AI Risk Management Framework ↗ Checked Jul 2026
Common issue walkthrough

Using AI to troubleshoot an error

  1. Remove names, IDs, and secrets from the error text.
  2. Use the troubleshooting prompt template.
  3. Verify each suggested command in the docs.
  4. Test safely, then document what worked.

Drafting a KB article from a ticket

  1. Remove customer details.
  2. Use the KB article template prompt.
  3. Check steps against what you actually did.
  4. Publish through your review process.
AI Automation Recipes (ITSM Standard Processes)
ProcessAuto-triage tickets with AI (industry-standard pattern)
  1. Trigger: a new ticket arrives from email, portal, or chat.
  2. Redact names, IDs, and secrets before sending text to a model.
  3. Ask the model for JSON: category, priority, affected service, confidence, and a short summary.
  4. Validate the JSON; if confidence is below your threshold or the ticket mentions security or PHI, send it to a person.
  5. Write the category and priority back to the PSA and add the summary as an internal note.
  6. Optionally draft a reply for a technician to approve.
  7. Measure accuracy weekly against technician corrections and adjust.

The most common AI use in service desks. Keep a person in the loop for low confidence and sensitive cases.

ITIL incident management — Atlassian ↗ Claude API overview — Anthropic ↗ Gemini structured output — Google ↗ Checked Jul 2026
SafePython: classify a ticket and return JSON
import json, anthropic
client = anthropic.Anthropic()

SYSTEM = ("You triage IT tickets. Return ONLY JSON: "
          '{"category":"Password|Email|Network|Hardware|Software|Security|Other",'
          '"priority":"P1|P2|P3|P4","confidence":0.0-1.0,"summary":"..."}')

def triage(ticket_text):
    msg = client.messages.create(model="claude-haiku-5-5", max_tokens=300, system=SYSTEM,
            messages=[{"role":"user","content":ticket_text}])
    data = json.loads(msg.content[0].text)
    if data["confidence"] < 0.8 or data["category"] == "Security":
        data["route"] = "human"
    return data

Use a small, fast model for classification and confirm model names on the models page.

A small, testable triage function. The same approach works with any provider. Redact the text first and keep a human route for low confidence and security tickets.

Claude API overview — Anthropic ↗ anthropic-sdk-python — GitHub ↗ JSON Schema ↗ Checked Jul 2026
ProcessEnrich and summarize security alerts
  1. Trigger: a new alert from the SIEM or EDR.
  2. Collect context automatically: user, device, recent sign-ins, related alerts, and threat-intel lookups.
  3. Send the redacted facts to an AI model to produce a short summary: what happened, how serious, and suggested next steps.
  4. Show it to the analyst; do not let it close or contain anything on its own.
  5. Allow one-click, approved actions (isolate device, reset session) through a playbook.
  6. Log the summary, the analyst decision, and the outcome.
ProcessSummarize logs and errors
  1. Pull the relevant slice (time window and host), not the whole log.
  2. Remove secrets, usernames, and PHI.
  3. Ask for: likely cause, evidence lines, and read-only checks to confirm.
  4. Verify the evidence lines actually exist in the log.
  5. Record the confirmed cause in the ticket.

Fast for long logs. Always check the cited lines yourself.

Prompt engineering — Anthropic ↗ OWASP Top 10 for LLM applications ↗ Event log queries — Microsoft Learn ↗ Checked Jul 2026
ProcessGenerate knowledge base articles from resolved tickets
  1. Select tickets resolved by a technician with clear notes.
  2. Remove customer details and PHI.
  3. Ask the model for: symptoms, cause, steps, how to verify, and rollback.
  4. A technician reviews and corrects the draft.
  5. Publish through the normal KB review and tag it for search.
  6. Retire or update older duplicates.

Turns solved problems into reusable answers with little extra effort.

ITIL incident management — Atlassian ↗ Prompt engineering — Anthropic ↗ Gemini API docs — Google ↗ Checked Jul 2026
ProcessUser onboarding automation
  1. Trigger: approved new-hire request from HR or a manager.
  2. Create the account in AD/Entra with naming standards and a temporary password or temporary access pass.
  3. Assign licenses, groups, and distribution lists by role.
  4. Create mailbox, Teams, and phone assignments; order hardware.
  5. Send welcome and setup instructions to the manager.
  6. Log every step in the ticket and require approval for privileged access.
  7. Verify the account and close the ticket.

A standard ITSM automation. Use Graph PowerShell, Power Automate, or your PSA automation platform.

Microsoft Graph PowerShell — Microsoft Learn ↗ Power Automate — Microsoft Learn ↗ ITIL incident management — Atlassian ↗ Checked Jul 2026
ProcessUser offboarding automation
  1. Trigger: approved offboarding request with the effective date and time.
  2. Disable sign-in and revoke sessions and refresh tokens.
  3. Reset or remove MFA methods and app passwords as policy requires.
  4. Convert the mailbox to shared or set a hold and forwarding per policy; keep data for retention.
  5. Remove licenses after the retention steps; remove from groups and shared resources.
  6. Recover hardware and wipe or reassign devices.
  7. Log and have the manager confirm; keep approval for deletes.

Offboarding is high-risk, so keep human approval and a detailed audit trail.

Microsoft Graph PowerShell — Microsoft Learn ↗ Power Automate — Microsoft Learn ↗ ITIL incident management — Atlassian ↗ Checked Jul 2026
ProcessSelf-service password reset with safe verification
  1. Prefer built-in self-service password reset (SSPR) with MFA registration.
  2. If a bot or agent handles requests, verify identity first (MFA prompt, manager approval, or call-back to a number on file).
  3. Never reset based on chat text alone.
  4. Issue a temporary password or temporary access pass and force change at next sign-in.
  5. Log who requested, who verified, and when.
  6. Alert on unusual numbers of reset requests.

A frequent target for social engineering — automate the process, not the trust.

Self-service password reset — Microsoft Learn ↗ ITIL incident management — Atlassian ↗ NIST AI Risk Management Framework ↗ Checked Jul 2026
ProcessPatch management automation
  1. Define rings: pilot, early adopters, broad, and critical servers.
  2. Set maintenance windows and deadlines per ring.
  3. Use Intune update rings, Windows Update for Business, WSUS, or your RMM to deploy.
  4. Monitor compliance and failures; auto-open tickets for failed devices.
  5. Hold or roll back a ring if issues appear.
  6. Report compliance weekly.
SafeFind certificates expiring soon (PowerShell)
$days = 30
Get-ChildItem Cert:\LocalMachine\My |
  Where-Object { $_.NotAfter -lt (Get-Date).AddDays($days) } |
  Select-Object Subject, Thumbprint, NotAfter |
  Sort-Object NotAfter

# Send to a monitoring job and open a ticket when any result is returned

Certificate expiry is a classic outage cause and an easy thing to automate. Run it on a schedule from every server that holds certificates.

Cert provider — Microsoft Learn ↗ Get-ChildItem — Microsoft Learn ↗ ITIL incident management — Atlassian ↗ Checked Jul 2026
SafeFind unused licenses to reclaim (Graph PowerShell)
Connect-MgGraph -Scopes User.Read.All,AuditLog.Read.All
Get-MgUser -All -Property DisplayName,UserPrincipalName,SignInActivity,AssignedLicenses |
  Where-Object { $_.AssignedLicenses.Count -gt 0 -and
                 ($_.SignInActivity.LastSignInDateTime -lt (Get-Date).AddDays(-90) -or -not $_.SignInActivity.LastSignInDateTime) } |
  Select-Object DisplayName,UserPrincipalName,@{n='LastSignIn';e={$_.SignInActivity.LastSignInDateTime}}

Check for shared mailboxes, service accounts, and leave of absence before reclaiming.

Lists licensed users with no sign-in for 90 days. Review with managers before removing anything.

Microsoft Graph PowerShell — Microsoft Learn ↗ Get-MgUser — Microsoft Learn ↗ ITIL incident management — Atlassian ↗ Checked Jul 2026
ProcessDisk-space alert with safe auto-remediation
  1. Trigger: monitoring alert for low disk space.
  2. Run read-only checks first: largest folders, temp files, and logs.
  3. Auto-clean only items on an approved list (temp, old logs) and log the freed space.
  4. Never delete user or application data automatically.
  5. Open a ticket if space is still low after cleanup.
  6. Report trends so capacity can be added before it becomes an alert.

A safe, standard remediation pattern: check, clean approved items only, escalate the rest.

ITIL incident management — Atlassian ↗ Change management — Atlassian ↗ Storage troubleshooting — Microsoft Learn ↗ Checked Jul 2026
ProcessSLA breach alerting and escalation flow
  1. Trigger: a ticket nears or passes its SLA target.
  2. Notify the assigned technician, then the team lead if no action in a set time.
  3. Add an internal note and raise priority per policy.
  4. Page the on-call person for P1 outages.
  5. Send the customer a status update.
  6. Review breaches weekly to fix root causes.

Keeps tickets from stalling silently. Works in PSA automation, Power Automate, or Thread/Pia flows.

ITIL incident management — Atlassian ↗ Power Automate — Microsoft Learn ↗ Thread overview — Thread docs ↗ Checked Jul 2026
ProcessWeekly operations report automation
  1. Export tickets, SLA, backup, and patch data on a schedule (API or scheduled query).
  2. Calculate the numbers in code or a spreadsheet — not with the AI.
  3. Optionally ask the AI to write the narrative from those verified numbers.
  4. Review before sending; compare the narrative against the data.
  5. Email or post the report to the agreed channel.
ProcessBackup verification automation
  1. Trigger: scheduled daily after backup windows.
  2. Query the backup tool or logs for each job's last result and age.
  3. Flag failures, missing jobs, and unusual size changes.
  4. Open a ticket for each failure with the job name and error.
  5. Run a scheduled test restore on a sample and record the result.
  6. Report coverage and failures.
ProcessData flow — AI ticket triage with human fallback
AI triage: redact, classify, validate, then write to the PSA or send to a personarrivesclean textJSONhigh confidencelow / securityNew ticketRedact names,IDs, secretsAI model(JSON triage)Validate fieldsand confidenceWrite to PSA(category, priority)Technicianreviews
New ticket↓ arrives → Redact names, IDs, secrets
Redact names, IDs, secrets↓ clean text → AI model (JSON triage)
AI model (JSON triage)↓ JSON → Validate fields and confidence
Validate fields and confidence↓ high confidence → Write to PSA (category, priority)↓ low / security → Technician reviews
Technician reviews
Write to PSA (category, priority)
AI triage: redact, classify, validate, then write to the PSA or send to a person
  1. Remove sensitive data before sending text to a model.
  2. Ask for JSON with category, priority, and confidence.
  3. Validate every field; send low-confidence, security, and PHI tickets to a person.
  4. Write the result back to the PSA as a suggestion or an internal note.
  5. Compare against technician corrections weekly to measure accuracy.

The standard shape of an AI ticket workflow with safety checks.

ITIL incident management — Atlassian ↗ Claude API overview — Anthropic ↗ NIST AI Risk Management Framework ↗ Checked Jul 2026
Common issue walkthrough

Auto-triage new tickets

  1. Redact the ticket text.
  2. Ask for JSON triage with confidence.
  3. Validate and apply above-threshold results.
  4. Route the rest to a person and measure accuracy.

Automate onboarding safely

  1. Start from the approved request.
  2. Create account, licenses, and groups.
  3. Require approval for privileged access.
  4. Log each step and verify before closing.
AI Evaluation, Cost & Monitoring
ProcessTest an AI workflow before trusting it
  1. Collect 30-100 real, redacted examples with the correct answer decided by a person.
  2. Run the workflow on them and score the results (exact match for categories, human review for text).
  3. Look at the errors, not just the average — which cases fail and why?
  4. Improve the prompt, examples, or model and re-run the same set.
  5. Set a threshold: only automate cases above it; send the rest to a person.
  6. Re-test whenever you change the prompt, model, or data.

A small test set turns "seems good" into a measurable result.

Develop tests — Anthropic ↗ NIST AI Risk Management Framework ↗ Prompt engineering — Anthropic ↗ Checked Jul 2026
ProcessControl AI cost and usage
  1. Choose the smallest model that passes your test set.
  2. Send only the needed text; trim logs and attachments.
  3. Use prompt caching for long, repeated instructions where available.
  4. Use batch processing for non-urgent bulk work.
  5. Set a maximum output length and a step limit for agents.
  6. Set budgets, alerts, and per-key limits in the provider console.
  7. Review usage by workflow monthly.

Costs grow with tokens and volume, so measure and cap them.

Claude API overview — Anthropic ↗ Gemini API docs — Google ↗ OpenAI platform docs ↗ Checked Jul 2026
ProcessMonitor AI workflows in production
  1. Log request time, model, token counts, latency, status, and a request ID — not the sensitive content itself.
  2. Track error rate, retries, and rate-limit hits.
  3. Track business measures: accuracy, human override rate, and time saved.
  4. Alert on spikes in errors, cost, or unusual outputs.
  5. Pin the model version where possible and test before changing it.
  6. Review a sample of outputs regularly.

You monitor an AI workflow like any other production service, plus output quality.

NIST AI Risk Management Framework ↗ OWASP Top 10 for LLM applications ↗ Develop tests — Anthropic ↗ Checked Jul 2026
ProcessWhen the AI answer is wrong
  1. Capture the input, output, model, and time (redacted).
  2. Check whether the prompt, data, or retrieval caused it.
  3. Add the case to your test set.
  4. Fix the instructions or data and re-run the test set.
  5. Add a rule or approval step if the mistake would be costly.
  6. Tell users how to report bad answers.
Common issue walkthrough

A new prompt or model is proposed

  1. Run the existing test set on it.
  2. Compare accuracy and cost.
  3. Roll out to a small group first.
  4. Monitor errors and overrides.
AI Governance & Security
ProcessVet an AI tool before using it at work
  1. Where does the data go, and is it stored, logged, or used to train models?
  2. Can you turn off training on your data and set retention?
  3. Is there a signed business associate agreement (BAA) if PHI might be involved?
  4. Security evidence: SOC 2 / ISO 27001, encryption, access controls, audit logs.
  5. Single sign-on, role-based access, and admin controls?
  6. Which systems does it connect to and with what permissions?
  7. Who approves it, and is it listed in the approved tools register?

A short checklist that avoids most data-exposure surprises.

NIST AI Risk Management Framework ↗ Business associate agreements — HHS ↗ HIPAA Security Rule — HHS ↗ Checked Jul 2026
ProcessPrompt injection and AI-specific risks
  1. Prompt injection: text in a ticket, email, or web page can contain hidden instructions that steer an AI agent.
  2. Data leakage: an AI with broad access can reveal documents a user should not see.
  3. Over-permissioned agents: an AI that can act (reset passwords, change tickets) can do damage if tricked.
  4. Hallucination: confident but wrong answers or commands.
  5. Controls: least privilege, human approval for changes, input filtering, audit logging, and testing with adversarial examples.

Treat any content an AI reads as untrusted input, and limit what it can do without a person approving.

OWASP Top 10 for LLM applications ↗ NIST AI Risk Management Framework ↗ OWASP LLM prompt injection ↗ Checked Jul 2026
ProcessApproval and audit controls for AI actions
  1. Require one-tap or ticket approval for any action that changes data or access.
  2. Give each AI connector or agent the minimum permissions, ideally per user, not a shared admin account.
  3. Turn on audit logs and review them on a schedule.
  4. Keep a kill switch: a way to disable the agent or connector quickly.
  5. Test in a sandbox or on a test client first.
  6. Review incidents and tune the rules.
ProcessAI acceptable-use checklist for a team
  1. Approved tools list and who can use them.
  2. Data rules: what can and cannot be entered.
  3. Review rules: a person checks AI output before use.
  4. Logging and monitoring expectations.
  5. How to report a mistake or exposure.
  6. Training for new staff.
ProcessNIST AI RMF in four steps
  1. Govern: assign owners, policies, and accountability for AI use.
  2. Map: list each AI use, its purpose, data, users, and risks.
  3. Measure: test accuracy, bias, security, and reliability with real metrics.
  4. Manage: apply controls, monitor, respond to incidents, and improve.
  5. Keep this as a simple register: system, owner, data, risk level, controls, and review date.

A lightweight way to organize AI risk without a large program.

NIST AI Risk Management Framework ↗ ISO/IEC 42001 AI management systems ↗ OWASP Top 10 for LLM applications ↗ Checked Jul 2026
ProcessAI and regulated data (HIPAA and similar)
  1. Only use AI services that are approved for regulated data and covered by a signed business associate agreement.
  2. Keep PHI out of consumer chat tools and personal accounts.
  3. Use de-identified or synthetic data for development and testing.
  4. Check data residency, retention, and whether prompts are used for training.
  5. Log access and keep audit evidence.
  6. Involve compliance before moving any AI workflow to production.

The rules for PHI do not change because a tool uses AI.

HIPAA Security Rule — HHS ↗ Business associate agreements — HHS ↗ ISO/IEC 42001 AI management systems ↗ Checked Jul 2026
ProcessHuman-in-the-loop decision guide
  1. Fully automatic is acceptable for: low-impact, reversible tasks (tagging, summaries, routing suggestions).
  2. Needs approval: anything that changes access, data, money, or customer communication.
  3. Never automatic: deleting data, privileged access changes, and actions affecting PHI without review.
  4. Define the confidence threshold and who reviews below it.
  5. Review automatic decisions on a sample basis.

A simple way to decide how much autonomy an AI workflow gets.

NIST AI Risk Management Framework ↗ OWASP Top 10 for LLM applications ↗ Change management — Atlassian ↗ Checked Jul 2026
Common issue walkthrough

A tech wants to use a new AI tool

  1. Run the vetting checklist.
  2. Get written approval and BAA if PHI is possible.
  3. Configure retention and access.
  4. Add it to the approved tools list.
AI Languages, SDKs & API Calls
ProcessAI languages and SDKs at a glance
  1. Python: the main language for AI work. Official SDKs for Anthropic, Google (google-genai), OpenAI, and Azure; also LangChain, LlamaIndex, and notebooks.
  2. TypeScript / JavaScript (Node): SDKs for Anthropic, Google, and OpenAI; best for web apps, Teams/Slack bots, and serverless functions.
  3. PowerShell: no SDK needed — call the REST APIs with Invoke-RestMethod from admin scripts, runbooks, and Intune/Graph automation.
  4. C# / .NET: Azure OpenAI client libraries and Semantic Kernel for enterprise and Windows apps.
  5. Java and Go: official or community SDKs for services and tooling.
  6. Bash + curl: quickest way to test any API and glue small jobs together.
  7. SQL: used with vector extensions (such as pgvector) and to feed data to and from AI jobs.
  8. JSON / JSON Schema: how you get predictable, machine-readable output from a model.
  9. YAML: configuration for workflows, pipelines, Ansible, and agents.
  10. Rule: pick the language your team already supports; every provider works over HTTPS + JSON.

You do not need a new language to automate with AI — any language that can send an HTTPS request works.

Claude API overview — Anthropic ↗ Gemini API docs — Google ↗ OpenAI platform docs ↗ Checked Jul 2026
SafeCall Claude (Anthropic) — Python, TypeScript, REST
# Python  (pip install anthropic; key in ANTHROPIC_API_KEY)
import anthropic
client = anthropic.Anthropic()
msg = client.messages.create(
    model="claude-sonnet-5-5",   # check the models page for current names
    max_tokens=1024,
    system="You are an IT support assistant. Give read-only checks first.",
    messages=[{"role": "user", "content": "Explain Event ID 4625 in two sentences."}],
)
print(msg.content[0].text)

# TypeScript  (npm i @anthropic-ai/sdk)
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic();
const msg = await client.messages.create({
  model: "claude-sonnet-5-5", max_tokens: 1024,
  messages: [{ role: "user", content: "Explain Event ID 4625 in two sentences." }],
});
console.log(msg.content[0].text);

# REST (curl)
curl https://api.anthropic.com/v1/messages \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{"model":"claude-sonnet-5-5","max_tokens":1024,"messages":[{"role":"user","content":"Hello"}]}'

Never put the API key in code or tickets. Use an environment variable or a secrets vault.

The Messages API takes a model, a token limit, an optional system prompt, and a list of messages. Model names change, so confirm the current one on the models page.

Claude API overview — Anthropic ↗ anthropic-sdk-python — GitHub ↗ anthropic-sdk-typescript — GitHub ↗ Checked Jul 2026
SafeCall Gemini (Google) — Python and REST
# Python  (pip install google-genai; key in GEMINI_API_KEY)
from google import genai
client = genai.Client()
resp = client.models.generate_content(
    model="<gemini-model>",   # e.g. a current Flash or Pro model — check the docs
    contents="Explain Event ID 4625 in two sentences.",
)
print(resp.text)

# REST (curl)
curl "https://generativelanguage.googleapis.com/v1beta/models/<gemini-model>:generateContent" \
  -H "x-goog-api-key: $GEMINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contents":[{"parts":[{"text":"Hello"}]}]}'

Replace <gemini-model> with a model name from the current docs.

Gemini is available through Google AI Studio (quick start with an API key) and Vertex AI (enterprise: IAM, regions, and governance).

Gemini API quickstart — Google ↗ Gemini API docs — Google ↗ Vertex AI generative AI — Google Cloud ↗ Checked Jul 2026
SafeCall OpenAI / Azure OpenAI — Python and REST
# Python  (pip install openai; key in OPENAI_API_KEY)
from openai import OpenAI
client = OpenAI()
resp = client.responses.create(model="<model>", input="Explain Event ID 4625 in two sentences.")
print(resp.output_text)

# REST (curl)
curl https://api.openai.com/v1/responses \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"<model>","input":"Hello"}'

# Azure OpenAI uses your own endpoint and a deployment name:
#   https://<resource>.openai.azure.com/  + api-key header or Microsoft Entra ID sign-in

Replace <model> with the current model name from the docs.

OpenAI and Azure OpenAI use similar request shapes. In Azure you create a deployment of a model and call that deployment from your resource endpoint.

OpenAI platform docs ↗ Azure OpenAI — Microsoft Learn ↗ Azure AI Foundry — Microsoft Learn ↗ Checked Jul 2026
SafeCall an AI API from PowerShell
$key  = $env:ANTHROPIC_API_KEY
$body = @{
    model      = 'claude-sonnet-5-5'
    max_tokens = 800
    messages   = @(@{ role = 'user'; content = 'Summarize this error in 3 bullets: <text with names removed>' })
} | ConvertTo-Json -Depth 5

$r = Invoke-RestMethod -Method Post -Uri 'https://api.anthropic.com/v1/messages' `
     -Headers @{ 'x-api-key' = $key; 'anthropic-version' = '2023-06-01' } `
     -ContentType 'application/json' -Body $body
$r.content[0].text

# Gemini: header 'x-goog-api-key', body {contents=@(@{parts=@(@{text='...'})})}
# OpenAI: header Authorization = "Bearer $env:OPENAI_API_KEY", URL https://api.openai.com/v1/responses

Lets admin scripts, runbooks, and scheduled tasks use AI without installing anything. Always strip names, IDs, and secrets before sending.

Invoke-RestMethod — Microsoft Learn ↗ Claude API overview — Anthropic ↗ Gemini API docs — Google ↗ Checked Jul 2026
SafeGet structured (JSON) output you can automate with
# Ask for JSON only and validate it before using it
SYSTEM = "Return ONLY valid JSON matching: {\"category\": string, \"priority\": \"P1\"|\"P2\"|\"P3\"|\"P4\", \"confidence\": number, \"summary\": string}"

import json
data = json.loads(msg.content[0].text)     # fails loudly if not JSON
assert data["priority"] in ("P1","P2","P3","P4")
assert 0 <= data["confidence"] <= 1

Automation needs predictable fields, not paragraphs. Ask for JSON, validate every field, and send anything that fails validation to a person. Providers also offer built-in structured output / schema features.

JSON Schema ↗ Gemini structured output — Google ↗ Prompt engineering — Anthropic ↗ Checked Jul 2026
SafeRetry with backoff on rate limits and overload
import time, random

def call_with_retry(fn, tries=5):
    for i in range(tries):
        try:
            return fn()
        except Exception as e:
            status = getattr(e, "status_code", None)
            if status in (429, 500, 502, 503, 529) and i < tries - 1:
                time.sleep((2 ** i) + random.random())   # 1s, 2s, 4s ... plus jitter
                continue
            raise

429 means rate limited; 5xx/529 mean the service is busy. Waiting and retrying with growing delays is the standard fix. Do not retry 400/401/403 — those need a code or key fix.

HTTP status codes — MDN ↗ Claude API overview — Anthropic ↗ OpenAI platform docs ↗ Checked Jul 2026
SafeTool use / function calling pattern
tools = [{
  "name": "get_ticket",
  "description": "Look up a ticket by ID (read-only).",
  "input_schema": {"type":"object","properties":{"ticket_id":{"type":"string"}},"required":["ticket_id"]}
}]
msg = client.messages.create(model="claude-sonnet-5-5", max_tokens=1024, tools=tools,
        messages=[{"role":"user","content":"What is the status of ticket T-1042?"}])

if msg.stop_reason == "tool_use":
    call = next(b for b in msg.content if b.type == "tool_use")
    result = get_ticket(call.input["ticket_id"])         # YOUR code runs, not the model
    # send the result back as a tool_result message and let the model finish its answer

Expose read-only tools first. Add write actions only with human approval.

The model never runs anything itself: it asks your code to call a tool, you run it with your own permissions, and you return the result. Gemini and OpenAI use the same idea (function calling).

Tool use — Anthropic ↗ Gemini function calling — Google ↗ OpenAI platform docs ↗ Checked Jul 2026
Common issue walkthrough

Test a new AI API quickly

  1. Get an API key and store it in an environment variable.
  2. Send a one-line request with curl.
  3. Move the same request into Python, TypeScript, or PowerShell.
  4. Add JSON validation and retry handling.

Choosing a language for a new automation

  1. Use what your team already supports.
  2. Use PowerShell for Windows/M365 admin jobs.
  3. Use Python for data, scripts, and AI frameworks.
  4. Use TypeScript for bots and web services.
Anthropic Claude — API, Claude Code & MCP
ProcessClaude model family and how to choose
  1. Use the smallest model that does the job well: fast, low-cost models for classification, routing, and summaries; mid-tier for most drafting and analysis; the most capable models for hard reasoning, long or complex agent work, and difficult code.
  2. Check the models overview page for current names, context size, and features — they change.
  3. Start with a stronger model to prove the task works, then try a cheaper one and compare with a test set.
  4. Vision: Claude can read images and PDFs (screenshots, diagrams, forms).
  5. Long context: large documents and log bundles can be sent in one request, but cost and speed grow with size.

Model choice is a cost, speed, and quality trade-off you can test rather than guess.

Models overview — Anthropic ↗ Claude API overview — Anthropic ↗ Develop tests — Anthropic ↗ Checked Jul 2026
ProcessClaude features used in automation
  1. Tool use: let the model request actions or lookups that your code runs.
  2. Structured output: JSON that follows a schema for reliable parsing.
  3. System prompts: fixed instructions and rules for every call.
  4. Prompt caching: reuse a long, unchanging prompt (runbooks, policies) to cut cost and time.
  5. Batch processing: send many non-urgent items (for example overnight ticket tagging) at lower cost.
  6. Citations and documents: ground answers in supplied files.
  7. Extended thinking: more reasoning time for hard problems.
  8. MCP: connect Claude to your tools through standard servers.

The features that matter most when you move from chatting to automating.

Claude API overview — Anthropic ↗ Tool use — Anthropic ↗ Model Context Protocol ↗ Checked Jul 2026
ProcessClaude Code for admin and scripting work
  1. Claude Code is Anthropic's agentic coding tool that runs in your terminal and IDE: it reads your project, edits files, and runs commands with your permission.
  2. Install it and start it inside a project folder with claude.
  3. Add a CLAUDE.md file with your standards (naming, tests, safety rules) — Claude Code reads it every session.
  4. Review each proposed edit and command; approve only what you understand.
  5. Use it to write, explain, and test PowerShell, Python, and Bash scripts, and to refactor old ones.
  6. Connect tools with MCP (claude mcp add ...) and keep write access narrow.
  7. Test on non-production data and put the result through code review and change management.

Keep secrets out of the project folder and out of prompts.

Good for building and maintaining the scripts that support your environment. You stay responsible for what runs in production.

Claude Code overview — Anthropic ↗ Agent SDK — Anthropic ↗ Model Context Protocol ↗ Checked Jul 2026
ProcessBuild an agent with the Claude Agent SDK
  1. Define the job and the boundaries: what it may read, what it may change, and when it must ask a person.
  2. Give it only the tools it needs (files, shell, web, or your MCP servers).
  3. Write clear instructions in the system prompt, including what to do when unsure.
  4. Run it on test data and log every tool call.
  5. Add approval for write actions and a kill switch.
  6. Measure success on a test set before expanding.

The same loop Claude Code uses is available as an SDK, so you can build your own agents for IT tasks.

Agent SDK — Anthropic ↗ Claude Code overview — Anthropic ↗ NIST AI Risk Management Framework ↗ Checked Jul 2026
ProcessCommon Claude automation uses in IT
  1. Ticket triage: classify type and priority, draft a first reply for a technician to approve.
  2. Log and alert summaries: turn long logs into a short cause-and-next-steps note.
  3. Runbook Q&A: answer from your own procedures, with citations to the source.
  4. Script help: explain, review, and test PowerShell, Python, and SQL.
  5. KB articles: turn resolution notes into a clean article.
  6. Meeting and ticket recaps for handoffs.
  7. Report drafting from exported data.
  8. Document extraction from PDFs and screenshots.
ProcessClaude API errors and what they mean
  1. 400: bad request — fix the JSON, model name, or parameters.
  2. 401: bad or missing API key.
  3. 403: no permission for that model or feature.
  4. 404: wrong endpoint or model name.
  5. 413: request too large — shorten or split the input.
  6. 429: rate limit — back off and retry; request higher limits if needed.
  7. 500/529: service busy — retry with backoff.
  8. Always log the request ID from the response for support.

Quick lookup for the failures you will see most.

Claude API overview — Anthropic ↗ HTTP status codes — MDN ↗ Rate limits — Anthropic ↗ Checked Jul 2026
Common issue walkthrough

Add Claude to a ticket workflow

  1. Store the API key in a vault.
  2. Send a redacted ticket and ask for JSON triage.
  3. Validate the JSON and use a confidence threshold.
  4. Route low-confidence items to a person.
  5. Log results and measure accuracy.

Use Claude Code on a script project

  1. Open the project folder and run claude.
  2. Add a CLAUDE.md with standards and safety rules.
  3. Review each edit and command.
  4. Test on non-production data and submit for change review.
Automation Platforms (Power Automate & Azure Automation)
ProcessTroubleshoot a failed Power Automate flow
  1. Open the flow > Run history and select the failed run.
  2. Find the first red step and read the error message and status code.
  3. 401/403: the connection or account has expired or lacks permission — re-authenticate the connection.
  4. 404/400: bad input, a deleted item, or a changed field name.
  5. 429: rate limited — add a delay or reduce the trigger frequency.
  6. Check that the flow owner still has a license and is enabled.
  7. Resubmit the run after the fix, and add a failure notification step.

Most flow failures come from expired connections, changed data, or limits.

Fix flow failures — Microsoft Learn ↗ Power Automate documentation — Microsoft Learn ↗ Data loss prevention — Microsoft Learn ↗ Checked Jul 2026
SafeCheck Azure Automation runbook jobs
Connect-AzAccount
Get-AzAutomationRunbook -ResourceGroupName <rg> -AutomationAccountName <account>
Get-AzAutomationJob -ResourceGroupName <rg> -AutomationAccountName <account> |
    Sort-Object StartTime -Descending | Select-Object -First 10 RunbookName,Status,StartTime,EndTime
Get-AzAutomationJobOutput -ResourceGroupName <rg> -AutomationAccountName <account> -Id <jobId> -Stream Error
SafeTest a webhook trigger
curl -i -X POST "https://example.com/webhook/<token>" \
  -H "Content-Type: application/json" \
  -d '{"ticket":"TEST-001","action":"ping"}'
# PowerShell
Invoke-RestMethod -Method Post -Uri "https://example.com/webhook/<token>" -ContentType 'application/json' -Body '{"ticket":"TEST-001","action":"ping"}'

The URL contains a secret token — treat it like a password.

Sends a test payload to confirm an automation endpoint receives and acts on it. Use a test value, never real customer data.

curl documentation ↗ Invoke-RestMethod — Microsoft Learn ↗ HTTP status codes — MDN ↗ Checked Jul 2026
ProcessBuild a safe automation: design checklist
  1. Define the trigger, the exact action, and what a successful run looks like.
  2. Use a dedicated service account with only the permissions the task needs.
  3. Store secrets in a vault, not in the flow or script.
  4. Add a dry-run or test mode and run it on test data first.
  5. Make it safe to run twice (idempotent) so reruns do not duplicate work.
  6. Add error handling, logging, and an alert on failure.
  7. Add an approval step for anything that changes access or deletes data.
  8. Document owner, purpose, schedule, and rollback.
ProcessData flow — Azure Automation with a Hybrid Runbook Worker
Azure Automation: cloud runbooks run in Azure or on a hybrid worker inside your networkAzureOn-premisestriggersjobruns locallyauthAz cmdletsSchedule orwebhookAutomation account(runbook)Hybrid RunbookWorker (on-prem)On-prem serversand ADManaged identityAzure resources
Schedule or webhook↓ triggers → Automation account (runbook)
Automation account (runbook)↓ job → Hybrid Runbook Worker (on-prem)↓ Az cmdlets → Azure resources
Managed identity↓ auth → Automation account (runbook)
Hybrid Runbook Worker (on-prem)↓ runs locally → On-prem servers and AD
Azure resources
On-prem servers and AD
Azure Automation: cloud runbooks run in Azure or on a hybrid worker inside your network
  1. A schedule or webhook starts the runbook in the Automation account.
  2. Cloud tasks run in Azure using a managed identity (no stored passwords).
  3. Tasks that must reach on-prem systems run on a Hybrid Runbook Worker installed on a server in your network.
  4. The worker needs outbound HTTPS to Azure only; no inbound ports.
  5. Keep job output and failures in a monitored log and alert on failed jobs.
Common issue walkthrough

An automation stopped working

  1. Open the run history and find the first failing step.
  2. Check connection, credentials, and permissions.
  3. Check for changed data or hitting rate limits.
  4. Fix, resubmit, and add an alert.
GitHub Copilot, Copilot Studio & Security Copilot
ProcessThe Copilot family — which one is which
  1. Microsoft 365 Copilot: AI in Word, Excel, PowerPoint, Outlook, Teams, and Microsoft 365 Chat, grounded in your work data.
  2. GitHub Copilot: code completion, chat, and agent features in IDEs and GitHub.
  3. Copilot Studio: build your own agents and connect them to data and actions (Power Platform connectors), published to Teams, web, and more.
  4. Microsoft Security Copilot: AI assistant for security operations, working with Defender, Sentinel, Intune, and Entra.
  5. Copilot in Azure / Intune / Entra / Windows: assistive features inside those admin tools.
  6. Each is licensed and governed separately.

Same brand, different products. Know which one a request is about before troubleshooting.

Microsoft 365 Copilot — Microsoft Learn ↗ GitHub Copilot docs ↗ Copilot Studio — Microsoft Learn ↗ Checked Jul 2026
ProcessGitHub Copilot setup and team settings
  1. Assign seats to users or teams in the organization's Copilot settings.
  2. Set policies: allowed features, public-code matching, and which models are available.
  3. Add content exclusions for repositories or paths that must never be sent.
  4. Add repository custom instructions (for example .github/copilot-instructions.md) to set coding standards.
  5. Train users to review suggestions — treat them like code from a junior developer.
  6. Use code review and security scanning on all merged code.

Gives developers help while keeping control of data and quality.

GitHub Copilot docs ↗ GitHub Copilot custom instructions ↗ OWASP Top 10 for LLM applications ↗ Checked Jul 2026
ProcessBuild an agent in Copilot Studio
  1. Create the agent and describe its purpose and tone.
  2. Add knowledge sources (SharePoint, files, websites) so it answers from your content.
  3. Add topics or actions for tasks (for example create a ticket) using Power Platform connectors.
  4. Set authentication so it acts with the user's permissions.
  5. Apply data loss prevention policies to control which connectors can be used.
  6. Test in the built-in test pane and review transcripts.
  7. Publish to Teams or a website and monitor analytics.

Copilot Studio is the low-code route for internal helpdesk, HR, and IT agents.

Copilot Studio — Microsoft Learn ↗ Power Automate — Microsoft Learn ↗ Data loss prevention — Microsoft Learn ↗ Checked Jul 2026
ProcessCopilot Studio agent gives wrong or no answers
  1. Check the knowledge source is published, shared with the right users, and indexed.
  2. Check the user has permission to the underlying content.
  3. Review the topic triggers and phrases.
  4. Check the connection or authentication for the action that failed.
  5. Read the conversation transcript and analytics.
  6. Tighten instructions and add examples, then retest.

Most problems are missing knowledge, permissions, or unclear instructions.

Copilot Studio — Microsoft Learn ↗ Power Automate — Microsoft Learn ↗ AI Builder — Microsoft Learn ↗ Checked Jul 2026
ProcessSecurity Copilot: what it helps with
  1. Summarize an incident and its related alerts.
  2. Explain a suspicious script or command line.
  3. Draft a KQL query from plain English for Defender or Sentinel.
  4. Suggest next steps and containment actions for an analyst to approve.
  5. Pull in Intune and Entra context for a device or user.
  6. Uses capacity units and integrations (plugins) you configure; analysts review every action.

An assistant for SOC and endpoint security work, not an unattended responder.

Microsoft Security Copilot — Microsoft Learn ↗ Sentinel playbooks — Microsoft Learn ↗ Automated investigation — Microsoft Learn ↗ Checked Jul 2026
ProcessAI Builder in Power Automate
  1. AI Builder adds prebuilt and custom AI steps to flows: document processing, text classification, entity extraction, sentiment, and prompts.
  2. Add the AI Builder action to a flow (for example extract invoice fields from a PDF).
  3. Check confidence scores and send low-confidence results to a person.
  4. Review licensing and credits before rolling out widely.
  5. Apply DLP policies and test with sample files.
Common issue walkthrough

Roll out GitHub Copilot to developers

  1. Assign seats and set policies.
  2. Add content exclusions and custom instructions.
  3. Require code review.
  4. Collect feedback and adjust.

Build an IT helpdesk agent in Copilot Studio

  1. Add knowledge sources.
  2. Add a ticket-creation action.
  3. Set authentication and DLP.
  4. Test, publish to Teams, review transcripts.
Google Gemini — API, Vertex AI & Workspace
ProcessGemini options: AI Studio, Vertex AI, and Workspace
  1. Google AI Studio and the Gemini API: quick start with an API key; good for prototypes and small automations.
  2. Vertex AI: the enterprise path — Google Cloud IAM, regions, logging, and governance controls.
  3. Gemini in Google Workspace: assistant features inside Gmail, Docs, Sheets, Meet, and Drive for end users.
  4. Gemini CLI: an open-source command-line agent for working with files and code.
  5. Models are grouped by speed vs capability (for example Flash vs Pro tiers) — check the docs for current names and limits.

Pick the path by who is using it and how much governance you need.

Gemini API docs — Google ↗ Vertex AI generative AI — Google Cloud ↗ Gemini for Google Workspace ↗ Checked Jul 2026
ProcessGemini features used in automation
  1. Multimodal input: text, images, audio, video, and PDFs.
  2. Function calling: the model asks your code to run a tool.
  3. Structured output: JSON that matches a schema.
  4. Grounding with Google Search for current information.
  5. Long context for large documents and logs.
  6. Context caching for repeated large inputs.
  7. Batch processing for large non-urgent jobs.

Features that matter when you move from chat to automation.

Gemini API docs — Google ↗ Gemini function calling — Google ↗ Gemini structured output — Google ↗ Checked Jul 2026
ProcessAutomate Google Workspace with Gemini and Apps Script
  1. Open Apps Script from a Sheet or Doc (Extensions > Apps Script).
  2. Store the API key in Script Properties, not in the code.
  3. Use UrlFetchApp.fetch() to call the Gemini API with the cell or document text.
  4. Write the response back to a cell, doc, or email draft.
  5. Add a time-driven trigger for scheduled runs.
  6. Keep a person in the loop for anything sent to customers.

Useful for Google Workspace shops that want summaries, classifications, or drafts inside Sheets and Docs.

Apps Script — Google ↗ Gemini API docs — Google ↗ Gemini for Google Workspace ↗ Checked Jul 2026
ProcessUse Gemini CLI for admin and code tasks
  1. Install Node.js, then install Gemini CLI (see the project page).
  2. Sign in or set GEMINI_API_KEY.
  3. Run it in a project folder and ask it to explain or write scripts.
  4. Review each proposed command and file change before approving.
  5. Use project instruction files to set standards and safety rules.

A terminal agent for Google-based workflows, similar in idea to other coding agents.

Gemini CLI — GitHub ↗ Gemini API docs — Google ↗ Vertex AI generative AI — Google Cloud ↗ Checked Jul 2026
ProcessDeploy Gemini on Vertex AI securely
  1. Create a Google Cloud project and enable the Vertex AI API.
  2. Use a service account with least privilege (Vertex AI User) instead of API keys.
  3. Choose the region to meet data-location requirements.
  4. Turn on audit logging for model calls.
  5. Use VPC Service Controls and private access where required.
  6. Review data-use and retention terms, and sign the required agreements before sending regulated data.

For PHI, confirm a signed business associate agreement and approved services first.

Vertex AI adds the identity, network, and audit controls a production workload needs.

Vertex AI generative AI — Google Cloud ↗ Gemini API docs — Google ↗ NIST AI Risk Management Framework ↗ Checked Jul 2026
Common issue walkthrough

Add Gemini to a Google Sheet

  1. Open Apps Script from the Sheet.
  2. Store the key in Script Properties.
  3. Call the Gemini API with UrlFetchApp.
  4. Write the result to a cell and add a trigger.

Move a prototype to Vertex AI

  1. Create a project and service account.
  2. Choose the region and enable logging.
  3. Switch from API key to service-account auth.
  4. Review data terms and approve for production.
MCP & Connecting AI to Tools
ProcessWhat MCP is and how AI tools connect to systems
  1. MCP (Model Context Protocol) is an open standard that lets an AI app call tools and read data from other systems through small servers.
  2. A server exposes tools (actions) and resources (data); the AI client discovers and calls them.
  3. Examples: ticketing, documentation, calendar, files, and device-management tools.
  4. Access is only as safe as the permissions you give the server and the user behind it.
  5. Review what tools a server offers before enabling it.

The reason one AI assistant can work with many tools without custom code for each.

Model Context Protocol ↗ MCP introduction ↗ OWASP Top 10 for LLM applications ↗ Checked Jul 2026
ProcessConnect a tool safely
  1. Use only servers from trusted vendors or reviewed internal code.
  2. Give each user or agent their own scoped access token, not a shared admin one.
  3. Limit to read-only first; add write actions only where needed and with approval.
  4. Store tokens in a secure place and rotate them.
  5. Turn on logging of tool calls and review them.
  6. Remove access when a person leaves or the tool is no longer needed.

Least privilege and per-user access limit the damage if something goes wrong.

Model Context Protocol ↗ OWASP Top 10 for LLM applications ↗ NIST AI Risk Management Framework ↗ Checked Jul 2026
ProcessTroubleshoot an AI connector that stopped working
  1. Check the connector status and whether the token or sign-in expired.
  2. Check the account still has access to the underlying system.
  3. Check the vendor status page and any API rate limits.
  4. Test the underlying API or tool directly with a read-only call.
  5. Reconnect or reissue the token if needed.
  6. Check the audit log for errors and note the time.

Most connector failures are expired tokens, removed permissions, or rate limits.

MCP introduction ↗ Model Context Protocol ↗ OWASP Top 10 for LLM applications ↗ Checked Jul 2026
ProcessData flow — Model Context Protocol (MCP)
MCP: the host asks for a tool, the client talks to an MCP server, which calls the real systemtool requestJSON-RPCcallsallow / denyHost app(Claude, IDE)MCP clientMCP serverTool, API,or data sourceUser approvalprompt
Host app (Claude, IDE)↓ tool request → MCP client
MCP client↓ JSON-RPC → MCP server
User approval prompt↓ allow / deny → MCP client
MCP server↓ calls → Tool, API, or data source
Tool, API, or data source
MCP: the host asks for a tool, the client talks to an MCP server, which calls the real system
  1. The AI application (host) decides it needs a tool and asks its MCP client.
  2. The client sends a standard request to the MCP server for that tool.
  3. The server calls the real system (ticket tool, database, file store) with its own credentials and returns the result.
  4. The user approves sensitive calls; read-only tools can be pre-approved.
  5. Give each server the least access it needs and log its calls.

How AI tools connect to your systems through a standard interface.

Model Context Protocol ↗ Claude Code overview — Anthropic ↗ OWASP Top 10 for LLM applications ↗ Checked Jul 2026
Common issue walkthrough

Adding a new connector

  1. Review the vendor and the tools it exposes.
  2. Create a scoped read-only token.
  3. Enable it for a test user.
  4. Review logs, then widen carefully.
Microsoft 365 Copilot
ProcessPrepare a tenant for Microsoft 365 Copilot
  1. Confirm licensing (Copilot add-on plus an eligible Microsoft 365 plan).
  2. Review SharePoint, OneDrive, and Teams permissions — Copilot can surface anything a user can already open, so fix oversharing first.
  3. Apply sensitivity labels and retention to confidential data.
  4. Review conditional access, MFA, and device compliance.
  5. Decide who gets licenses first (pilot group) and assign them.
  6. Review data-protection and compliance settings and document them.
  7. Train the pilot group and gather feedback before expanding.

Copilot respects existing permissions, so cleaning up access is the most important preparation.

Microsoft 365 Copilot overview — Microsoft Learn ↗ Set up Microsoft 365 Copilot — Microsoft Learn ↗ Copilot privacy — Microsoft Learn ↗ Checked Jul 2026
ProcessCopilot is missing or not working for a user
  1. Confirm the license is assigned and has had time to apply.
  2. Check the user is signed in with the work account and apps are on the current channel.
  3. Check admin settings and any policy that blocks it.
  4. Test in the web version (Microsoft 365 app) to rule out the desktop client.
  5. Check service health.
  6. Collect the exact message and time for support.
SafeCheck Copilot license assignment (Microsoft Graph PowerShell)
Connect-MgGraph -Scopes User.Read.All,Organization.Read.All
Get-MgSubscribedSku | Select SkuPartNumber,SkuId,ConsumedUnits
Get-MgUserLicenseDetail -UserId user@domain.com | Select SkuPartNumber

Lists license SKUs and what a user has. Look for the Copilot SKU in the results.

Get-MgUserLicenseDetail — Microsoft Learn ↗ Get-MgSubscribedSku — Microsoft Learn ↗ Microsoft Graph PowerShell — Microsoft Learn ↗ Checked Jul 2026
Common issue walkthrough

Rolling Copilot out to a pilot group

  1. Fix oversharing in SharePoint and Teams.
  2. Label sensitive data.
  3. Assign licenses to the pilot.
  4. Train and gather feedback.
OpenAI & Azure OpenAI / AI Foundry
ProcessOpenAI and Azure OpenAI: which to use
  1. OpenAI API: direct from OpenAI; fastest access to new features.
  2. Azure OpenAI / Azure AI Foundry: the same model families inside your Azure tenant, with Microsoft Entra ID sign-in, private networking, regional deployments, and Azure compliance and logging.
  3. Choose Azure when you need tenant control, private endpoints, or existing Microsoft agreements; choose direct for quick prototypes.
  4. Both support tool calling, structured output, embeddings, and vision.

Same ideas as other providers; the main difference is where the service runs and how access is controlled.

OpenAI platform docs ↗ Azure OpenAI — Microsoft Learn ↗ Azure AI Foundry — Microsoft Learn ↗ Checked Jul 2026
ProcessDeploy a model in Azure OpenAI / AI Foundry
  1. Create an Azure AI Foundry (or Azure OpenAI) resource in an approved region.
  2. Deploy a model and give the deployment a name — your code calls the deployment name.
  3. Set the quota (tokens per minute) for the deployment.
  4. Use Microsoft Entra ID roles (for example Cognitive Services OpenAI User) instead of shared keys where possible.
  5. Configure content filters and diagnostic logging.
  6. Restrict network access with private endpoints if required.
  7. Test from a script and record endpoint, deployment, owner, and costs.

Most Azure OpenAI problems trace back to the deployment name, region, quota, or permissions.

Azure OpenAI — Microsoft Learn ↗ Azure AI Foundry — Microsoft Learn ↗ Azure OpenAI quotas — Microsoft Learn ↗ Checked Jul 2026
ProcessAzure OpenAI call fails — what to check
  1. 401/403: wrong key, expired token, or missing role.
  2. 404: wrong endpoint, API version, or deployment name.
  3. 429: quota (tokens per minute) exceeded — retry or raise quota.
  4. Content filter error: the prompt or reply triggered a filter — review the input.
  5. Timeouts: check network path, private endpoint DNS, and request size.
  6. Check the resource's diagnostic logs for the request.

The common failure causes in order of frequency.

Azure OpenAI — Microsoft Learn ↗ HTTP status codes — MDN ↗ Azure AI Foundry — Microsoft Learn ↗ Checked Jul 2026
ProcessEmbeddings and similarity search in plain English
  1. An embedding turns text into a list of numbers that captures meaning.
  2. Similar text has nearby numbers, so you can search by meaning, not just keywords.
  3. Store embeddings with the original text in a vector-capable store (Azure AI Search, pgvector, or a vector database).
  4. To search, embed the question and return the closest chunks.
  5. This is the foundation of retrieval-augmented generation (RAG).

The idea behind searching your own knowledge base with AI.

Azure AI Search — Microsoft Learn ↗ pgvector — GitHub ↗ OpenAI platform docs ↗ Checked Jul 2026
Common issue walkthrough

Stand up Azure OpenAI for a team

  1. Create the resource and deploy a model.
  2. Assign Entra roles instead of sharing keys.
  3. Set quota and logging.
  4. Test from a script and document owner and cost.
Pia — MSP Service Desk Automation
ProcessWhat Pia does
  1. Pia is an AI-powered service delivery platform for MSPs that automates service desk work directly inside the PSA.
  2. Client self-service: SmartForms and Pia Chat.
  3. AI ticket triage: classify, prioritize, and route tickets.
  4. Pre-built automations: an Automations Catalog (60+ ready-to-run tasks) and PiaPacks (curated bundles of automations, AI insights, and vendor workflows).
  5. Custom development for workflows that are not in the catalog.
  6. Examples named by Pia: password resets, staff onboarding, staff offboarding.

A quick summary of the platform based on Pia's public pages. Check the current catalog for the full list.

Pia pre-built automations ↗ About Pia ↗ Pia launches automation for MSPs — PR Newswire ↗ Checked Jul 2026
ProcessDeployment models: cloud, on-prem, hybrid
  1. Pia lists four environment types: Cloud Hybrid, Cloud Only, On-Prem Only, and Semi Hybrid.
  2. The Automations Catalog shows which environments each automation supports — check it before choosing one.
  3. On-prem and hybrid automations act on local systems such as Active Directory, so they need the connection and permissions to reach them.
  4. Cloud-only automations act on cloud services such as Microsoft 365 and Entra ID.
  5. Match the automation to where each client's identity and mailboxes actually live.

Pick automations that fit each client's environment. Details are in the catalog.

Pia pre-built automations ↗ Pia Automation 8.0 release ↗ NIST SP 800-128 configuration management ↗ Checked Jul 2026
ProcessConfigure an automation: approval or zero-touch
  1. Connect Pia to the PSA and the client environment (credentials and permissions for the task).
  2. Pick the automation from the Catalog or a PiaPack in the Automation Hub.
  3. Choose how it runs: immediately (zero-touch) or after approval.
  4. Set the approver — approvals route to the designated approver inside the PSA.
  5. Adjust per client for naming conventions, groups, licenses, and workflow.
  6. Test with a test user or client and review the result and the audit entry.
  7. Enable for production and monitor.

Approval can be set per automation and per client environment, so risky tasks can need sign-off while simple ones run automatically.

Pia pre-built automations ↗ Pia launches automation for MSPs — PR Newswire ↗ Pia Automation 8.0 release ↗ Checked Jul 2026
ProcessWhich tasks need approval and which can be zero-touch
  1. Usually require sign-off: offboarding, access changes, license removal, anything deleting data, and anything involving privileged accounts.
  2. Often safe as zero-touch after testing: simple lookups, adding a user to a standard group, ticket categorization, and standard notifications.
  3. Password reset: verify the user's identity first, either in the workflow or through the PSA approval.
  4. Start with approval required, review results, and relax only where it is proven safe.

A starting point for deciding which tasks run automatically. Adjust for your own risk rules and contracts.

Pia pre-built automations ↗ Pia launches automation for MSPs — PR Newswire ↗ Password guidance — NIST ↗ Checked Jul 2026
ProcessReview the audit trail
  1. Every automation run is logged against the approving engineer.
  2. Filter by client, automation, and date.
  3. Check failures and retries and fix the cause.
  4. Confirm approved actions match the ticket.
  5. Keep the log for audit and customer questions.

The audit trail shows who approved what and what the automation actually did.

Pia pre-built automations ↗ Pia launches automation for MSPs — PR Newswire ↗ NIST AI Risk Management Framework ↗ Checked Jul 2026
ProcessAutomation fails or does not trigger
  1. Check the PSA connection and credentials are still valid.
  2. Check the automation is enabled for that client environment.
  3. Check whether it is waiting for approval and who the approver is.
  4. Check the client environment connection (AD sync, tenant permissions, agent online if on-prem).
  5. Read the run log for the first error.
  6. Re-run with a test case after the fix, and contact Pia support if it is a platform issue.

Most failures are connection, permission, or approval-state problems.

Pia pre-built automations ↗ About Pia ↗ Pia Automation 8.0 release ↗ Checked Jul 2026
Common issue walkthrough

Roll out password reset automation

  1. Connect Pia to the PSA and the client environment.
  2. Enable the password reset automation in approval mode.
  3. Test with a test user and confirm identity verification.
  4. Review the audit entry.
  5. Consider zero-touch only after it runs cleanly.

Offboarding automation

  1. Keep approval required.
  2. Confirm the HR/manager request in the ticket.
  3. Run on a test user first.
  4. Review the audit trail and confirm access removed.
RAG, Local Models & AI Frameworks
ProcessRetrieval-augmented generation (RAG) for runbooks and KB
  1. Collect the documents: runbooks, KB articles, policies, and resolved-ticket notes.
  2. Clean them: remove outdated and duplicate content, and anything that should not be searchable.
  3. Split into chunks (a few paragraphs each) and keep source name and link with each chunk.
  4. Create embeddings and store them in a vector-capable store.
  5. At question time, embed the question, fetch the top matches, and send them to the model with the question.
  6. Instruct the model to answer only from the supplied text and cite the source; say "not found" otherwise.
  7. Respect permissions: only retrieve what that user may see.
  8. Test with real questions and review wrong answers; update documents, not just prompts.

RAG lets an AI answer from your own documents without retraining. Document quality decides answer quality.

Azure AI Search — Microsoft Learn ↗ pgvector — GitHub ↗ RAG concepts — LangChain ↗ Checked Jul 2026
ProcessRun a local model with Ollama
  1. Install Ollama from the project site.
  2. Pull a model, for example ollama pull <model>.
  3. Chat with ollama run <model> or call the local API at http://localhost:11434.
  4. Use it for private experiments, offline summarization, and testing prompts without sending data out.
  5. Check the machine has enough RAM/VRAM; smaller models run on modest hardware.
  6. Local models are usually less capable than the large hosted ones — test before relying on them.

Local models keep data on your own machine, which is useful for sensitive experiments.

Ollama ↗ Ollama API docs — GitHub ↗ Ollama models ↗ Checked Jul 2026
SafeCall a local Ollama model from PowerShell or curl
# curl
curl http://localhost:11434/api/generate -d '{"model":"<model>","prompt":"Summarize: ...","stream":false}'

# PowerShell
$body = @{ model='<model>'; prompt='Summarize: ...'; stream=$false } | ConvertTo-Json
(Invoke-RestMethod -Method Post -Uri http://localhost:11434/api/generate -Body $body -ContentType 'application/json').response

The local API uses simple JSON over HTTP, so any script can use it.

Ollama API docs — GitHub ↗ Ollama ↗ Invoke-RestMethod — Microsoft Learn ↗ Checked Jul 2026
ProcessFrameworks: LangChain, LlamaIndex, Semantic Kernel
  1. LangChain: Python/JS toolkit for chains, tools, and agents across many providers.
  2. LlamaIndex: focused on connecting models to your data (indexing and retrieval).
  3. Semantic Kernel: Microsoft's SDK for C#, Python, and Java to build agents and plugins on Azure and other models.
  4. Use a framework when you need many integrations or complex flows; use the plain API for simple jobs.
  5. Frameworks change quickly — pin versions and read the release notes before upgrading.

Frameworks save time for complex projects but add dependencies to maintain.

LangChain docs ↗ LlamaIndex docs ↗ Semantic Kernel — Microsoft Learn ↗ Checked Jul 2026
ProcessSimple agent loop (think, act, observe)
  1. Give the model a goal, instructions, and a list of tools.
  2. The model replies with an answer or a request to use a tool.
  3. Your code runs the tool (read-only first) and sends the result back.
  4. Repeat until done or a step limit is reached.
  5. Log every step and tool call.
  6. Require a person to approve writes and risky actions.
  7. Add a hard limit on steps, time, and cost.

Every agent framework is a version of this loop. Limits and approvals keep it safe.

Tool use — Anthropic ↗ Agent SDK — Anthropic ↗ OWASP Top 10 for LLM applications ↗ Checked Jul 2026
ProcessData flow — retrieval-augmented generation (RAG)
RAG: documents are indexed; each question retrieves matches that the model uses to answerpreparestoreaskfind closesttop matchesgrounded replyDocuments(runbooks, KB)Chunk andembedVector storeAI modelUser questionEmbed questionAnswer withcitations
Documents (runbooks, KB)↓ prepare → Chunk and embed
User question↓ ask → Embed question
Chunk and embed↓ store → Vector store
Embed question↓ find closest → Vector store
Vector store↓ top matches → AI model
AI model↓ grounded reply → Answer with citations
Answer with citations
RAG: documents are indexed; each question retrieves matches that the model uses to answer
  1. Indexing (offline): split documents into chunks, create embeddings, store them with the source name and link.
  2. Query (live): embed the question and fetch the closest chunks the user is allowed to see.
  3. Send the question plus those chunks to the model and tell it to answer only from them and cite the source.
  4. Show the sources so the user can verify the answer.
  5. Re-index when documents change, and review wrong answers to fix the documents.

The two halves of RAG: building the index and answering with retrieved text.

Azure AI Search — Microsoft Learn ↗ RAG concepts — LangChain ↗ NIST AI Risk Management Framework ↗ Checked Jul 2026
Common issue walkthrough

Build a runbook Q&A assistant

  1. Gather and clean the runbooks.
  2. Chunk and embed them.
  3. Retrieve top matches per question and answer only from them.
  4. Test with real questions and fix the documents.
Thread — AI MSP Service Desk (Super Magic)
ProcessWhat Thread and Super Magic are
  1. Thread is an AI service desk platform for MSPs that connects customers, the service team, and the PSA with two-way sync.
  2. Magic AI: background automation (auto prioritization, categorization, title, recap, sentiment).
  3. Magic Agents: Triage Agent (auto responder, auto triage, approval workflows, auto resolve, intents) and Reminder Agent.
  4. Voice AI: inbound and outbound calling with transcription and on-call paging.
  5. Messenger: customer chat on the web, Microsoft Teams, and Slack.
  6. Thread Inbox: technician workspace with Planner, time logging, and auto-dispatch.
  7. Flows and Agent Builder: no-code automation and unattended agents.
  8. Super Magic: in-Inbox assistant that gathers context and prepares actions, which a technician confirms before they run.

An overview taken from Thread's public documentation. Check the docs for current features.

Thread product overview — Thread docs ↗ Introducing Super Magic — Thread ↗ Thread documentation ↗ Checked Jul 2026
ProcessSuper Magic: how it works and its guardrails
  1. A technician gives one prompt, such as investigating a VPN issue; Super Magic runs the steps in order.
  2. It reads the ticket, pulls client documentation (for example from Hudu), checks related resolved tickets, and searches the web if needed.
  3. It can route tickets or open follow-ups, but actions such as closing a ticket, logging time, or sending an approval need the technician's one-tap confirmation.
  4. Admins choose which connectors are enabled across the organization.
  5. Technicians authorize their own access, so it acts as that technician, not a shared account.
  6. Built-in connectors listed at launch: Notion, Zapier, Liongard, Linear; custom connectors can be added through MCP.

Super Magic prepares work and a person approves it, which is the right pattern for any AI agent.

Introducing Super Magic — Thread ↗ Thread product overview — Thread docs ↗ Model Context Protocol ↗ Checked Jul 2026
ProcessConfiguration walkthrough: connect the PSA
  1. Pick the PSA integration your company uses (Thread documents ConnectWise, Autotask, and HaloPSA).
  2. Create the API user or key in the PSA with the permissions Thread's setup guide specifies — least privilege.
  3. Enter the credentials in Thread and test the connection.
  4. Map statuses, priorities, boards, and ticket types so Thread and the PSA match.
  5. Run a test ticket both ways and confirm the two-way sync.
  6. Document the API user, owner, and renewal date.

Setup details and permissions are in Thread's documentation — follow those exactly for your PSA.

Thread documentation ↗ Thread product overview — Thread docs ↗ Least privilege — NIST glossary ↗ Checked Jul 2026
ProcessConfiguration walkthrough: Triage Agent and intents
  1. Turn on Auto Prioritization and Auto Categorization and check results on a sample of tickets.
  2. Create the Triage Agent and define what it may do: auto respond, gather details, and when to hand off to a person.
  3. Create intents for common requests (password reset, new user, printer issue), each with the questions to ask and the next step.
  4. Set approval workflows for anything that changes access.
  5. Start in a mode where a technician reviews before the agent acts; widen after you trust the results.
  6. Review conversations and tune the intents weekly at first.

Intents give the agent a defined path for each request type, which keeps it predictable.

Thread product overview — Thread docs ↗ Thread documentation ↗ Introducing Super Magic — Thread ↗ Checked Jul 2026
ProcessConfiguration walkthrough: Messenger, Teams, and Slack
  1. Decide where customers and staff will reach you: web widget, Teams, Slack, or all.
  2. Embed the Messenger widget on the support page or portal.
  3. Create and publish the Teams app or deploy the Slack service app, following Thread's guide.
  4. Install the Companion App for your technicians in Teams or Slack so they can reply and update tickets from chat.
  5. Test: a customer message creates or updates a PSA ticket and the tech can respond.
  6. Tell customers how to use it.

Messenger is customer-facing; the Companion App is for your own team. They are installed separately.

Thread Messenger ↗ Thread documentation ↗ Thread product overview — Thread docs ↗ Checked Jul 2026
ProcessConfiguration walkthrough: Voice AI
  1. Choose a mode: Attendant (after hours or first line) or Overflow (when staff are busy).
  2. Set the greeting, hours, and what information to collect.
  3. Map callers to contacts and companies, and enable caller verification before sharing ticket details.
  4. Set a verified business caller ID for outbound calls.
  5. Configure on-call paging so calls cascade through the rotation.
  6. Decide on call recording and when to pause it for sensitive information.
  7. Test inbound and outbound calls and check that transcripts land on the ticket.

Verify callers before giving ticket details and pause recording when sensitive data is spoken.

Thread product overview — Thread docs ↗ Thread documentation ↗ Thread Messenger ↗ Checked Jul 2026
ProcessConfiguration walkthrough: Flows and auto-dispatch
  1. Pick a trigger (new ticket, reply, status change, sentiment shift, SLA breach).
  2. Add filters by client, board, priority, or tag.
  3. Add actions: change status/priority/assignee, post to Teams or Slack, email, page on-call, or send a CSAT survey.
  4. Check the run log to confirm which conditions matched and what ran.
  5. For dispatch, choose pull (next thread) or push (auto-assign by workload, skills, and schedule) and set work schedules and profiles.
  6. Test with a sample ticket before enabling broadly.

Flows are Thread's no-code automation. Test each one on a sample before turning it on for everything.

Thread product overview — Thread docs ↗ Thread documentation ↗ Introducing Super Magic — Thread ↗ Checked Jul 2026
ProcessConfiguration walkthrough: Super Magic admin and connectors
  1. Decide which connectors to allow (documentation, automation, and project tools).
  2. Enable them for the organization and set safety rules for allowed actions.
  3. Have each technician authorize their own access so actions use their identity.
  4. Issue MCP keys only to those who need them, with scoped access.
  5. Turn on auditing and review it.
  6. Pilot with a few technicians before everyone.
ProcessThread or Super Magic is not behaving as expected
  1. Check the PSA connection, API user, and that status mappings still match.
  2. Check the connector or token has not expired or lost access.
  3. Review the Flow run log or agent conversation to see what ran and why.
  4. Check the intent or rule that should have fired and its filters.
  5. Check the technician has authorized the connector.
  6. Test with a fresh test ticket and contact Thread support with the run details.

Most problems are expired connections, changed PSA settings, or filters that do not match.

Thread documentation ↗ Thread product overview — Thread docs ↗ Introducing Super Magic — Thread ↗ Checked Jul 2026
Common issue walkthrough

Setting up Thread for a new MSP

  1. Connect the PSA with a least-privilege API user.
  2. Turn on Auto Prioritization and test.
  3. Configure the Triage Agent and intents.
  4. Add Messenger and the Companion App.
  5. Review results and widen gradually.

Safely enabling Super Magic

  1. Enable only the needed connectors.
  2. Have each tech authorize their own access.
  3. Keep confirmation on every action.
  4. Audit and adjust.
Vibe Coding & AI-Assisted Development
ProcessVibe coding workflow (data flow)
Vibe coding loop: prompt, generate, run, review, commitpromptchangespassesfailsretryapprovedIdea andrequirementsAI writescodeRun andtestReview thediffFix promptwith errorCommit to Git
Idea and requirements↓ prompt → AI writes code
AI writes code↓ changes → Run and test
Fix prompt with error↓ retry → AI writes code
Run and test↓ passes → Review the diff↓ fails → Fix prompt with error
Review the diff↓ approved → Commit to Git
Commit to Git
Vibe coding loop: prompt, generate, run, review, commit
  1. Vibe coding means describing what you want in plain language and letting an AI write the code, then iterating on results.
  2. Start small: one feature per prompt, with the expected behavior and an example.
  3. Run it, give the AI the exact error or wrong result, and repeat.
  4. Read every change before you accept it; if you cannot explain it, do not ship it.
  5. Commit after each working step so you can roll back.

A fast way to prototype and learn. For anything used by others, add review, tests, and security checks.

Vibe coding — Wikipedia ↗ Claude Code overview — Anthropic ↗ GitHub Copilot docs ↗ Checked Jul 2026
ProcessVibe coding rules that keep you safe
  1. Use a Git repository from the start and commit often.
  2. Never paste secrets, customer data, or PHI into a prompt; use environment variables and test data.
  3. Pin and review dependencies the AI adds; check each package is real and maintained.
  4. Ask for tests alongside code and run them.
  5. Review authentication, input handling, and file or network access by hand.
  6. Use a throwaway environment first; never run generated commands on production without review.
  7. Keep a human reviewer and change approval for anything that reaches production.

Vibe-coded code can contain bugs, insecure patterns, or invented packages. These rules reduce the risk.

OWASP Top 10 for LLM applications ↗ OWASP Top 10 ↗ NIST Secure Software Development Framework ↗ Checked Jul 2026
ProcessWrite a good prompt for code
  1. State the goal and who uses it in one sentence.
  2. Give the language, framework, and versions.
  3. Describe inputs, outputs, and one or two examples.
  4. List constraints: no new dependencies, follow existing style, handle errors, no secrets in code.
  5. Ask the AI to explain its plan first, then write the code.
  6. Ask for tests and for edge cases it handled.

Specific prompts produce better code and fewer retries.

Prompt engineering — Anthropic ↗ Claude Code overview — Anthropic ↗ GitHub Copilot docs ↗ Checked Jul 2026
ProcessSpec-first (plan, then build) with AI
  1. Write a short spec: purpose, users, inputs/outputs, rules, and what is out of scope.
  2. Ask the AI to turn it into a task list and review the list yourself.
  3. Build one task at a time, test it, and commit.
  4. Update the spec when behavior changes so the project stays understandable.
  5. Keep the spec in the repository next to the code.

A calmer alternative to open-ended vibe coding and the basis of most professional AI-assisted work.

Claude Code memory (CLAUDE.md) — Anthropic ↗ Architecture decision records ↗ Claude Code overview — Anthropic ↗ Checked Jul 2026
ProcessDebug with an AI assistant
  1. Reproduce the problem and capture the exact error text and steps.
  2. Give the AI the error, the relevant code, and what you expected.
  3. Ask for likely causes ranked, and a check for each.
  4. Try the cheapest check first; do not apply several changes at once.
  5. Add a test that fails before the fix and passes after it.
  6. Commit the fix with a message explaining the cause.

AI is useful for reading errors and proposing causes; you still confirm with a test.

Debugging — MDN ↗ Claude Code overview — Anthropic ↗ pytest documentation ↗ Checked Jul 2026
SafeClaude Code — everyday commands
claude                      # start in the current project folder
claude -p "explain this repo"   # one-off, non-interactive
claude --continue            # continue the last session in this folder
claude --resume              # pick an earlier session

# inside a session
/help        # list commands
/init        # create a CLAUDE.md for the project
/clear       # start a fresh conversation
/compact     # summarize to free up context
/context     # see how much context is used
/model       # switch model
/plan        # plan before editing
/diff        # review changes in the working tree
/rewind      # undo to an earlier point
/memory      # edit CLAUDE.md and memory
/permissions # manage allow / deny rules
/mcp         # manage MCP servers
/review      # review code changes
/security-review   # review the branch for vulnerabilities
/resume      # reopen a session
/exit        # leave

Command availability varies by version and plan; the commands page is the source of truth.

Commonly used Claude Code commands. Run /help for the list in your version, as commands change.

Claude Code commands reference ↗ Claude Code overview — Anthropic ↗ Claude Code memory (CLAUDE.md) — Anthropic ↗ Checked Jul 2026
ProcessClaude Code — project setup (CLAUDE.md, hooks, subagents, MCP)
  1. Run /init in the project to create a CLAUDE.md with build commands, structure, and coding rules; edit it by hand.
  2. Use /memory to open and edit memory files; keep them short and specific.
  3. Set allowed and blocked actions with /permissions so routine safe commands do not prompt.
  4. Add hooks for automatic checks (for example run a formatter or tests after edits).
  5. Add subagents for repeatable roles such as a reviewer or test writer.
  6. Add MCP servers (claude mcp add) for ticket, database, or docs access with least privilege.
  7. Commit the shared settings to the repository so the team uses the same setup.

Setting up a repeatable AI-assisted workflow for a team project.

Claude Code memory (CLAUDE.md) — Anthropic ↗ Claude Code hooks — Anthropic ↗ Claude Code subagents — Anthropic ↗ Checked Jul 2026
ProcessOther AI coding tools and how they differ
  1. Claude Code: terminal and IDE agent that edits files and runs commands with your approval.
  2. GitHub Copilot: IDE completions, chat, and agent mode, tied to GitHub.
  3. Gemini CLI: Google's open-source terminal agent.
  4. Cursor and Windsurf: editors built around AI chat and agent edits.
  5. Replit, Lovable, v0, and Bolt: browser-based tools that generate and host apps from a prompt.
  6. Pick by where your code lives, what your security team approves, and whether data may leave your network.

The main options. Features change quickly, so check each vendor before standardizing.

GitHub Copilot docs ↗ Gemini CLI — GitHub ↗ Cursor ↗ Checked Jul 2026
ProcessReview AI-generated code before merging
  1. Read the whole diff; reject changes you do not understand.
  2. Check for secrets, hard-coded paths, and debug leftovers.
  3. Check inputs are validated and queries are parameterized.
  4. Check new dependencies are real, maintained, and licensed acceptably.
  5. Run tests, linters, and a security scan.
  6. Ask a second person to review anything touching auth, data, or money.

AI code gets the same review as human code, and a bit more care.

Code review developer guide — Google ↗ OWASP Top 10 ↗ NIST Secure Software Development Framework ↗ Checked Jul 2026
Common issue walkthrough

Build a small tool with AI

  1. Write a one-paragraph spec.
  2. Ask the AI for a plan, then build one step at a time.
  3. Run, test, and commit after each step.
  4. Review the final diff before sharing.
Workflow & Infrastructure Automation (n8n, Zapier, Make, Ansible, Terraform)
ProcessChoosing a workflow tool
  1. Power Automate: best inside Microsoft 365 — SharePoint, Teams, Outlook, Dataverse, and AI Builder.
  2. Zapier and Make: quick, wide app coverage for SaaS-to-SaaS automation with AI steps.
  3. n8n: open source and self-hostable with a visual editor and code nodes; good where data must stay in your environment.
  4. Azure Automation / Logic Apps: runbooks and workflows inside Azure.
  5. Ansible: agentless configuration management and task automation for servers and network devices.
  6. Terraform: infrastructure as code for cloud resources.
  7. Pick by where the data lives, who maintains it, and what your security team approves.

Most teams use several. The key questions are data location, ownership, and governance.

Power Automate — Microsoft Learn ↗ n8n docs ↗ Ansible documentation ↗ Checked Jul 2026
ProcessBuild an AI step in n8n, Zapier, or Make
  1. Create a trigger: webhook, new ticket, new email, or schedule.
  2. Add an HTTP or built-in AI node that calls your provider with a prompt and the redacted input.
  3. Request JSON output and add a step that validates it.
  4. Add a branch: high confidence continues automatically; low confidence goes to a person for approval.
  5. Write the result to the PSA, chat, or spreadsheet.
  6. Store API keys in the tool's credential store.
  7. Turn on error notifications and check the run history after launch.

The same pattern works in any workflow tool.

n8n docs ↗ Zapier help ↗ Make help ↗ Checked Jul 2026
SafeLinux / Unix / AIXAnsible: check connectivity and dry-run a playbook
ansible all -i inventory.ini -m ping
ansible-playbook -i inventory.ini site.yml --check --diff     # dry run: shows changes without making them
ansible-playbook -i inventory.ini site.yml --limit web01       # run on one host first
ansible-playbook -i inventory.ini site.yml

--check --diff is the safe first step in any change. Test on one host, then widen.

Ansible documentation ↗ Ansible check mode ↗ Change management — Atlassian ↗ Checked Jul 2026
SafeTerraform: plan before apply
terraform init
terraform fmt -check
terraform validate
terraform plan -out=tfplan
# review the plan, get approval, then:
terraform apply tfplan

plan shows exactly what would change. Apply only a reviewed plan, ideally through a pipeline with approval.

Terraform documentation ↗ Change management — Atlassian ↗ NIST SP 800-128 configuration management ↗ Checked Jul 2026
ProcessKeep automations supportable
  1. Name each automation clearly and record owner, purpose, schedule, and systems touched.
  2. Store flow/script definitions in version control.
  3. Use service accounts with least privilege and rotate secrets.
  4. Send failure alerts to a monitored channel, not one person.
  5. Document how to disable it and how to roll back.
  6. Review all automations at least quarterly and retire unused ones.

Automations become production systems; treat them that way.

Change management — Atlassian ↗ NIST SP 800-128 configuration management ↗ NIST AI Risk Management Framework ↗ Checked Jul 2026
Common issue walkthrough

Add an AI classification step to a workflow

  1. Add a webhook or ticket trigger.
  2. Call the AI with redacted input and ask for JSON.
  3. Validate and branch on confidence.
  4. Write the result back and enable error alerts.