Domain Controllers, FSMO roles, Group Policy, AD replication, ACL management, and PowerShell ActiveDirectory cmdlets.
ActiveDirectory Module
AD User & Account Management
Everyday Active Directory user provisioning, unlocking, password resets, and auditing.
# Unlock locked user account
Unlock-ADAccount -Identity "jdoe"
# Reset password and require change at next login
Set-ADAccountPassword -Identity "jdoe" -NewPassword (ConvertTo-SecureString "P@ssw0rd123!" -AsPlainText -Force)
Set-ADUser -Identity "jdoe" -ChangePasswordAtLogon $true
# Find locked accounts
Search-ADAccount -LockedOut | Select-Name, SamAccountName, LastLogonDate
# Search users by attribute
Get-ADUser -Filter 'Enabled -eq $true -and Department -eq "IT"' -Properties EmailAddress, Title | Select Name, SamAccountName, EmailAddress, Title
ActiveDirectory Module
Groups, Computer Accounts & Membership
Managing Security/Distribution Groups and querying workstation domain accounts.
# Create Security Group
New-ADGroup -Name "SEC-VPN-Users" -GroupScope Global -GroupCategory Security -Path "OU=Groups,DC=domain,DC=com"
# Add member to group
Add-ADGroupMember -Identity "SEC-VPN-Users" -Members "jdoe", "asmith"
# Query computer OS versions
Get-ADComputer -Filter * -Properties OperatingSystem | Select Name, OperatingSystem
# Join Workstation to Domain
Add-Computer -DomainName "domain.com" -Credential (Get-Credential) -Restart
FSMO Management
FSMO Roles Query, Transfer & Seizure
Identify domain controllers holding FSMO roles and execute role transfers or emergency seizures.
# Query current FSMO role holders
Get-ADDomain | Select-Object SchemaMaster, DomainNamingMaster, PDCEmulator, RIDMaster, InfrastructureMaster
Get-ADForest | Select-Object SchemaMaster, DomainNamingMaster
# Transfer FSMO roles to target DC
Move-ADDirectoryServerOperationMasterRole -Identity "DC02" -OperationMasterRole SchemaMaster, DomainNamingMaster, PDCEmulator, RIDMaster, InfrastructureMaster
# Force Seize FSMO role (Use only when DC is permanently offline)
Move-ADDirectoryServerOperationMasterRole -Identity "DC02" -OperationMasterRole PDCEmulator -Force
GPO & Replication
GPO Diagnostics & Repadmin CLI
Troubleshoot AD replication topology, GPO evaluation, and ACL permissions.
# Force Group Policy update and generate report
gpupdate /force
gpresult /h C:\temp\GPO_Report.html /f
# AD Replication Diagnostics
repadmin /showrepl
repadmin /replsummary
repadmin /syncall /A /e
# Domain Controller Health Check
dcdiag /v /c /d /e /s:DC01.domain.com
# Inspect Active Directory ACLs using DSACLS
dsacls "OU=Workstations,DC=domain,DC=com"
Networking & Subnetting
IP Routing, CIDR subnet reference matrix, DNS troubleshooting tools, socket diagnostics, and iPerf3 throughput testing.
IPv4 Subnet Cheat Sheet
CIDR Subnet Mask Reference Table
CIDR Prefix
Subnet Mask
Wildcard Mask
Total Addresses
Usable Host IPs
/30
255.255.255.252
0.0.0.3
4
2 (Point-to-Point)
/29
255.255.255.248
0.0.0.7
8
6
/28
255.255.255.240
0.0.0.15
16
14
/27
255.255.255.224
0.0.0.31
32
30
/26
255.255.255.192
0.0.0.63
64
62
/25
255.255.255.128
0.0.0.127
128
126
/24
255.255.255.0
0.0.0.255
256
254
/23
255.255.254.0
0.0.1.255
512
510
/22
255.255.252.0
0.0.3.255
1,024
1,022
/16
255.255.0.0
0.0.255.255
65,536
65,534
DNS & Tracing
DNS Lookup & Path Tracing CLI
Commands to test DNS resolution propagation and trace network routing paths.
# Dig lookup specifying DNS Server and Record Type
dig @1.1.1.1 example.com A +short
dig @8.8.8.8 example.com MX +trace
# Windows Nslookup
nslookup -type=TXT _dmarc.example.com 1.1.1.1
# Tracert / Traceroute
tracert -d 8.8.8.8 # Windows (skip reverse DNS)
traceroute -n -m 30 8.8.8.8 # Linux
# Pathping (Windows latency & packet loss per hop)
pathping 8.8.8.8
IP & Sockets
Sockets, ARP & Interface Configuration
Inspect listening sockets, active connections, MAC ARP tables, and network adapters.
# Socket Statistics (Linux replacement for netstat)
ss -tulnp # Display listening TCP/UDP ports with PIDs
netstat -ano # Windows active connections with PIDs
# ARP Cache Management
arp -a # View resolved MAC addresses
arp -d * # Clear ARP cache (Windows Admin)
# Windows Netsh Static IP Config
netsh interface ip set address name="Ethernet" static 192.168.1.50 255.255.255.0 192.168.1.1
# iPerf3 Bandwidth Throughput Test
iperf3 -s # Run Server
iperf3 -c 192.168.1.50 -t 30 -P 4 # Run Client (4 parallel streams for 30s)
Linux Administration
Systemd, Journalctl, file permissions matrix, SSH key generation, UFW/iptables firewalls, rsync, and process monitoring.
Systemd Services
Systemctl & Journalctl Logs
Managing Linux background services and querying system logs.
# Control system service
sudo systemctl enable --now nginx
sudo systemctl restart nginx
sudo systemctl status nginx
# Inspect journalctl logs
journalctl -u nginx.service -n 100 --no-pager
journalctl -u sshd -f # Tail live SSH logs
journalctl -p err..emerg # Show errors & emergencies only
File Permissions
Linux Octal Permissions & Ownership
Chmod octal values, user/group ownership, and sticky bits.