Code Library

Code files and documentation for collaborative learning. Each file includes a detailed readme explaining what it does, how to use it, and what to be careful of. Currently contains: PowerShell.

How to Use This Site

Each code file in this library has two files:

Screen Reader Navigation

Skip Links
Press Tab when the page loads to access skip links. Jump directly to the file list.
Headings
Use heading navigation (H key) to jump between sections. Projects are level 3 headings, files within projects are level 4 headings.
Lists
Projects and files are organized in lists. Use list navigation (L key) to browse.
Links
Each file has download links with descriptive text including the filename.

Available Files

There are currently 2 files in this library.

Files

  • Backup-Folder.ps1

    A PowerShell script that creates timestamped backups of specified folders. Includes options for ZIP compression, detailed logging, and automatic cleanup of old backups based on a configurable retention policy. Ideal for scheduled backup tasks.

    Language:
    PowerShell
    Difficulty:
    Intermediate
    Category:
    Automation
    File size:
    10.1 KB
  • Get-SystemInfo.ps1

    A PowerShell script that gathers comprehensive system information including OS version, hardware specifications, network configuration, and installed software. Useful for inventory management and system troubleshooting.

    Language:
    PowerShell
    Difficulty:
    Beginner
    Category:
    Utility
    File size:
    6.2 KB