Scripts live in the repository under scripts/linux/ and scripts/powershell/. Each one is read-only by default, validates its input, handles errors, and documents its prerequisites and exit codes in its header.
cdscripts/linux
bashsystem-info.sh# text report to the terminalbashsystem-info.sh-fcsv# CSV (Property,Value)bashsystem-info.sh-o~/lpm-lab/reports# also save a timestamped file
Set-Locationscripts\powershell.\System-Info.ps1# requires RemoteSigned for CurrentUser.\System-Info.ps1-FormatJson.\System-Info.ps1-FormatCsv-OutputPath$HOME\lpm-lab\reports# Without changing execution policy (this process only):powershell.exe-NoProfile-ExecutionPolicyBypass-File.\System-Info.ps1
Sample output (PowerShell 5.1, Windows 11; captured by running the script; identifying values replaced)¶
==============================================
System Information Report
==============================================
Report time (UTC) : 2026-11-08T10:31:47Z
Computer name : WIN11-LAB
Current user : WIN11-LAB\student
Operating system : Microsoft Windows 11 Home Single Language
OS version/build : 10.0.26200 (build 26200)
Architecture : AMD64
Manufacturer/model : Contoso Laptop X509
CPU model : AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
Logical CPUs : 8
Memory total (MB) : 10188
Memory used (MB) : 7646
Memory free (MB) : 2542
System drive : C: 96.8 GB used of 500.3 GB (19%), 403.5 GB free
IPv4 addresses : WiFi=192.168.1.3/24
Default gateway : 192.168.1.1 via WiFi
DNS servers : 192.168.1.1
Uptime : 3d 10h 34m
Boot time : 2026-11-05 05:27:40
PowerShell : 5.1.26100.9168 (Desktop)
==============================================
System Information Report
==============================================
Report time (UTC) : 2026-11-08T10:32:13Z
Host name : ubuntu-lab
Current user : student
Operating system : Ubuntu 24.04.1 LTS
Kernel release : 6.8.0-48-generic
Architecture : x86_64
CPU model : Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz
CPU cores : 4
Load average (1/5/15) : 0.12 0.08 0.03
Memory total : 15990MiB
Memory used : 1203MiB
Memory available : 14420MiB
Root filesystem : 31G used of 73G (43%), 42G free
IPv4 addresses : eth0=10.1.0.4/16
Default gateway : 10.1.0.1 via eth0
DNS servers : 127.0.0.53
Uptime : up 12 minutes
Boot time : 2026-11-08 10:20:01
Shell : 5.2.21(1)-release
The CI pipeline runs the script on every release on a GitHub-hosted Ubuntu 24.04 runner, and the real report is attached to each workflow run as the linux-script-reports artefact.