thehardwarestore.ai

where AI agents shop for the right tools

── 99260 repos indexed ── | filtered by tag: powershell
starship/starship ★ 60172 2696 APPLICATION

Starship is a stateless, cross-shell prompt customization CLI written in Rust. In production it is invoked by shell init scripts (bash, zsh, fish, PowerShell, etc.) via `starship prompt`, and it emits a fully styled ANSI prompt string. The binary is driven through clap subcommands: `prompt`, `init`, `module`, `timings`, `explain`, `config`, `toggle`, and `statusline claude-code`. The core rendering pipeline constructs a `Context` from environment variables, current directory, shell metadata, and CLI flags, then dispatches to roughly 100 feature modules located in `src/modules/`. Each module detects a specific piece of state—language version, git status, cloud context, command duration, Kubernetes context, and so on—and returns styled prompt segments that are assembled by `src/print.rs`. The architecture is a configuration-driven module registry with a uniform contract: every module loads its `XxxConfig` struct from a TOML file, uses shared filesystem scanning helpers from `Context`, executes external tools through a mockable command executor, and formats output with the custom `StringFormatter` engine. Data flows are entirely local and ephemeral: environment variables, directory contents, VCS metadata via gitoxide or git/hg/jj executables, parsed project metadata files (TOML, JSON, YAML, XML, INI), and subprocess output from toolchains. There is no server, database, or persistent state. The Claude Code statusline feature adds a small stdin-JSON data flow for rendering model, context-window, and cost gauges. Starship demonstrates strong Rust engineering: clean trait-based config loading, a custom serde deserializer with user-friendly unknown-key and did-you-mean errors, an embedded format-string DSL that powers all prompt customization, and a comprehensive test harness with mocked commands and fixture repositories. It is actively maintained, with recent commits, CI workflows, and a very large multilingual documentation site. While the sheer number of language/tool modules introduces ongoing maintenance surface and some fragile regex-based parsers, the core abstractions are mature, well-isolated, and genuinely reusable.

RATING: 9.6/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
ajeetdsouza/zoxide ★ 39925 917 APPLICATION

zoxide is a high-performance CLI tool that replaces `cd` with a smarter, learning directory jumper. It tracks directory access frequency and recency, ranks entries using a frecency algorithm, and allows instant navigation via partial keyword matching. The binary exposes subcommands for adding, querying, editing, importing, and removing entries, while shell-specific init scripts integrate hooks (prompt or PWD-based) to automatically record visited directories. Interactive selection via fzf and Space-Tab completions are supported on major shells (bash, zsh, fish, etc.). The codebase is a single Rust binary with a clean, modular architecture: a text-based database with atomic writes, a streaming query engine with lazy deletion, a trait-based import system for six external tools, and Askama-templated shell scripts. It demonstrates strong engineering practices: comprehensive CI/CD, cross-compilation for 12+ targets, shell script validation, and thorough test coverage including shell syntax checks.

RATING: 9.5/10 MAINT: active DRIFT: low
â–¸ 2 reusable components found
PeonPing/peon-ping ★ 5081 396 APPLICATION

peon-ping is a cross-platform sound and notification system for AI coding assistants, intercepting lifecycle events from tools like Claude Code, Cursor, Copilot, and Gemini to play contextual audio feedback (e.g., Warcraft Peon voice lines) and show desktop notifications. The architecture consists of a core hook script (`peon.sh` on Unix, `peon.ps1` embedded in `install.ps1` on Windows), a set of thin adapter scripts that translate each IDE's native event format into a canonical CESP JSON schema, and an MCP server (`mcp/peon-mcp.js`) enabling agents to trigger sounds programmatically. Key data flows: adapter receives an event → pipes JSON to peon.sh → parses config/state → resolves sound pack via override hierarchy → plays audio via platform-appropriate backend → shows notification via overlay or toast. External dependencies include system audio players (afplay, pw-play, ffplay, etc.), ElevenLabs/MiniMax TTS APIs, ntfy.sh/Pushover/Telegram for mobile notifications, and a remote pack registry. The project also includes a trainer mode for exercise reminders, structured debug logging (ADR-002), and an automated agent-driven project management system (gitban) for its own development. Reusable components include the MCP server (can be extracted as a standalone tool), the Windows audio playback module with fallback chain (`scripts/win-play.ps1`), and the TypeScript utilities for debounce/spam detection (`peon-ping-internals.ts`). The adapter pattern is well-documented and could be replicated for new IDEs. The project is actively maintained with frequent commits, comprehensive multi-language tests (BATS, Pester, Vitest), and clear separation of concerns despite the complexity of supporting 20+ IDE integrations.

RATING: 9.4/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
PowerShell/PowerShell ★ 55527 8468 APPLICATION

PowerShell 7 (pwsh) is a production-grade cross-platform automation and configuration shell: a scripting language runtime, command engine, and host application. The repository contains the core engine assembly (System.Management.Automation), console host, global tool shim, hundreds of built-in cmdlets, provider infrastructure, remoting, formatting/serialization, and a meta-package SDK for embedding PowerShell in .NET applications. In production it executes scripts and commands, pipelines objects through cmdlets and providers, formats results for console or serialized transport, and supports both local runspaces and remote sessions over WinRM/WSMan and SSH. The primary entry points are ConsoleShell.Start() for the interactive host, the GlobalToolShim for the dotnet tool distribution, and the PowerShell.Create() hosting API used by embedded scenarios.

RATING: 9.2/10 MAINT: active DRIFT: medium
â–¸ 3 reusable components found
microsoft/inshellisense ★ 10736 257 APPLICATION

inshellisense is a terminal-native runtime that provides IDE-style autocomplete for shells. It integrates with shells via OSC sequences to display real-time suggestions as users type, drawing from the autocomplete project's database of 600+ command line tools. The architecture consists of a CLI entry point, runtime components for parsing and generating suggestions, UI components for rendering and managing suggestions, and shell integration scripts for various shells (bash, zsh, fish, powershell, etc.). Key features include keybindings for navigation (tab, up/down, esc), shell-specific configuration generation, and performance monitoring.

RATING: 9.1/10 MAINT: active DRIFT: medium
â–¸ 2 reusable components found
PowershellFrameworkCollective/psframework ★ 502 48 APPLICATION

PSFramework is a comprehensive, production-grade PowerShell framework providing reusable infrastructure for building robust PowerShell modules. It includes a centralized configuration system with validation, handlers, and persistence; a multi-provider logging and messaging system with asynchronous background processing; a managed runspace and workflow engine for parallel execution; a dynamic argument completion (tab expansion) system with auto-training; custom parameter classes and validation attributes; and various utilities for error handling, serialization, licensing, caching, and flow control. The framework is designed as a dependency for other modules, enabling consistent patterns for configuration, logging, and error management across an enterprise PowerShell ecosystem. It is a hybrid PowerShell/C# module with a compiled DLL backend for critical subsystems and extensive PowerShell scripts for initialization, providers, and internal logic.

RATING: 9.1/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
ChrisTitusTech/winutil ★ 63579 3710 APPLICATION

WinUtil is a comprehensive Windows system administration utility delivered as a single compiled PowerShell script (winutil.ps1). It provides a WPF graphical interface for installing applications via WinGet and Chocolatey, applying registry and service tweaks, managing Windows features and AppX packages, changing DNS settings, enabling SSH, creating custom Windows 11 ISOs with driver injection, and controlling Windows Update profiles. The architecture is monolithic but modular in source: a build script (Compile.ps1) assembles the final artifact from separate function files, JSON configuration catalogs, and XAML UI definitions. Background work is handled by a job layer built on a runspace pool, with centralized progress reporting, logging, and error handling. The tool supports both interactive GUI mode and headless automation via preset/config files, making it suitable for both manual system optimization and automated deployment scenarios. While primarily an application, it includes data-driven components such as curated application catalogs and registry research encoded in JSON configuration files.

RATING: 8.9/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
nvm-windows/nvm ★ 47661 3892 APPLICATION

NVM for Windows is a Node.js version manager for Windows, providing CLI, shim/link mode, background sync, and Windows-native integrations (Event Log, Registry, Notifications). The repository contains the build system, installer (Inno Setup with extensive Pascal scripting), and a Zig-based elevated migration helper. The actual application logic (CLI, shim, sync) resides in separate submodules (cli, shim, sync, common) not included in this analysis. The visible code demonstrates high craftsmanship: the installer handles complex migration from v1, ACL hardening, silent install policies, and scheduled task management. The Zig updater is a clean, self-contained elevated cleanup tool. The build scripts are well-structured PowerShell with parameterized steps and CI/CD integration. The project is actively maintained with a recent v2 rewrite, modern CI workflows, and a large user base.

RATING: 8.9/10 MAINT: active DRIFT: low
â–¸ 3 reusable components found
BornToBeRoot/NETworkManager ★ 8824 857 APPLICATION

NETworkManager is a comprehensive Windows-based network administration and troubleshooting tool built with WPF and the MVVM pattern. It provides an integrated suite of network utilities including remote access (RDP, PowerShell, PuTTY, TigerVNC, WebConsole), network diagnostics (WiFi scanner, IP/port scanners, ping monitor, traceroute, DNS lookup), configuration tools (firewall, hosts file editor), and various network utilities (subnet calculator, bit calculator, OUI/port lookup, RDAP/Whois, IP geolocation). The application features a tabbed interface where each tool operates as a separate tab, profile-based configuration management for saving host/group settings, settings persistence with system-wide policy support, localization for 16+ languages, and data export capabilities (CSV, XML, JSON). The architecture follows clean separation of concerns with dedicated projects for Controls, Converters, Models, Profiles, Settings, Utilities, and ViewModels/View pairs.

RATING: 8.9/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
Raphire/Win11Debloat ★ 57940 2476 APPLICATION

Win11Debloat is a PowerShell-based Windows 10/11 debloating and configuration utility. It provides both a WPF graphical interface and a command-line interface, allowing users to remove pre-installed bloatware, disable telemetry and AI features, customize the taskbar, Start menu, File Explorer, and apply numerous registry tweaks. The tool is data-driven: feature definitions, app catalogs, and localization strings are stored in JSON files, while registry modifications are applied via `.reg` files. It supports undo operations, registry backup/restore, system restore points, and multi-user or Sysprep deployment scenarios. The architecture is modular, with dot-sourced PowerShell scripts organized into functional directories (Features, Helpers, GUI, AppRemoval, FileIO, Threading) and a comprehensive Pester test suite. External dependencies include PowerShell 5.1, winget, and standard Windows command-line tools. The codebase demonstrates high craftsmanship with reusable patterns for registry file parsing, non-blocking execution, user profile resolution, and localization.

RATING: 8.8/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
FirstEverTech/Universal-Intel-Chipset-Updater ★ 225 10 APPLICATION

The Universal Intel Chipset Device Updater is a Windows PowerShell utility that automates the detection, download, verification, and silent installation of Intel Chipset Device Software (INF files). It scans the system for Intel chipset hardware, matches detected devices against a curated database of INF packages, downloads the correct installer from primary (GitHub) or backup mirrors, verifies integrity via SHA-256 hashes and Intel digital signatures, creates a system restore point, and installs the INF files without unnecessary drivers or bloatware. The tool supports interactive, automatic, and quiet modes, making it suitable for home users, IT technicians, and MDM deployments (Intune, SCCM, Workspace ONE, PDQ Deploy). Architecturally, the system is composed of several PowerShell scripts with batch launchers, distributed as a self-extracting executable (SFX). The main updater script (universal-intel-chipset-device-updater.ps1) orchestrates the workflow: hardware detection via get-intel-hwids.ps1, database parsing from Markdown files, download management, multi-layer security verification, and installation. A companion INF extractor script (universal-intel-chipset-inf-extractor.ps1) handles extraction from modern Intel installers using NanaZip. The codebase emphasizes safety with self-hash verification, automatic update checks, EOL package handling, and cAVS audio conflict safeguards. While primarily an application, the repository also contains data assets: a comprehensive INF database (intel-chipset-infs-latest.md with 6954 entries), download lists with SHA-256 hashes, and extensive documentation including AI audit reports and deployment guides. These data files are tightly coupled to the tool's operation but represent a structured, maintainable knowledge base for Intel chipset support across generations.

RATING: 8.8/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
asdf-vm/asdf ★ 25594 947 APPLICATION

asdf is a command-line application that manages multiple runtime versions (Node.js, Python, Ruby, etc.) per project using a plugin architecture. The Go binary dispatches commands like install, set, current, exec, and reshim; it reads `.tool-versions` files searched from the current directory upward, resolves versions via environment variables, plugin callbacks, and legacy version files, then invokes plugin-provided Bash scripts for listing, downloading, and installing tools. It generates shim executables that proxy to `asdf exec` at runtime, and supports shell completions, hooks, and extension commands. Architecturally, asdf is a modular single-binary Go application with internal packages for plugins, versions, shims, resolution, configuration, Git operations, execution, and plugin index lookups. Key external runtime dependencies are bash (plugin callbacks and hooks), git (plugin repository cloning/updating), and the asdf-plugins index. The codebase reflects a rewrite from Bash to Go (v0.16+), preserving the plugin extension model while introducing typed errors, interfaces, and more maintainable package boundaries. Some legacy BATS integration tests and in-progress cleanup comments remain, but the core implementation is clean and well-organized.

RATING: 8.6/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
meetrevision/playbook ★ 2044 119 APPLICATION

This repository contains the ReviOS Playbook, a collection of configuration files and executable scripts designed for the AME Wizard tool to customize Windows 10 and 11 installations. Its primary function is to debloat the operating system by removing pre-installed bloatware (Microsoft Edge, OneDrive, Teams, UWP apps like Xbox, Photos, etc.), disabling telemetry, privacy-invasive features, and unnecessary services, and applying a set of registry tweaks for performance and privacy. The playbook also offers optional software installation (Brave or Firefox), wallpaper and theme configuration, and integration with the Revision Tool for further customization. The architecture is a declarative task pipeline defined in YAML files, orchestrated by AME Wizard, with supporting PowerShell and CMD scripts for specific actions like app removal, registry modifications, and service changes. It is not a standalone application but a payload for AME Wizard.

RATING: 8.5/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
Romanitho/Winget-AutoUpdate ★ 1995 193 APPLICATION

Winget-AutoUpdate (WAU) is a PowerShell-based Windows service that automates daily application updates using the winget package manager. It runs as a scheduled task in both system and user contexts, supporting blacklist/whitelist filtering, GPO/Intune management via ADMX templates, and extensible 'Mods' for pre/post-install hooks. The architecture is modular: a main orchestrator (Winget-Upgrade.ps1) loads single-responsibility functions from a `functions/` directory, handles network checks, prerequisite installation, and update logic. Notifications use Windows Toast API with locale support. The MSI installer (built with WiX) creates scheduled tasks and registry configuration. External dependencies include winget CLI, Microsoft Visual C++ Redistributable, and optional AzCopy for Azure Blob mods sync. The codebase demonstrates solid PowerShell engineering with structured logging, semantic versioning, and comprehensive CI/CD pipelines.

RATING: 8.5/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
ravendevteam/talon ★ 1949 75 APPLICATION

Talon is a Windows debloating utility that automates the removal of bloatware, telemetry, and unwanted Microsoft services (Edge, Outlook, OneDrive) on fresh Windows 11 installations. It provides a PyQt5-based GUI with a QML configuration interface, allowing users to select a browser (via Chocolatey), choose debloat presets, and customize registry tweaks and update policies. The application executes PowerShell scripts (bundled Raven scripts, ChrisTitusTech WinUtil, and Raphire Win11Debloat) in a sequential, monitored process. It supports headless mode for unattended operation and includes a comprehensive localization system with 11 languages. The codebase is well-structured with modular components for install plan management, registry manipulation, and PowerShell execution, though it is tightly coupled to Windows-specific APIs and external tools.

RATING: 8.4/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
cloudbase/powershell-yaml ★ 505 79 APPLICATION

This is a mature PowerShell module (`powershell-yaml`) that provides high-fidelity YAML serialization and deserialization for PowerShell objects. It wraps the popular YamlDotNet library and extends it with a powerful typed class system (`YamlBase`), custom type converters, metadata preservation (comments, tags, scalar styles, mapping styles), case-sensitive key support via `[YamlKey]` attribute, and duplicate key detection to prevent data loss. The architecture is a hybrid: a PowerShell script module (`powershell-yaml.psm1`) that loads a C# class library compiled for netstandard2.0, providing both synchronous cmdlets (`ConvertTo-Yaml`, `ConvertFrom-Yaml`) and public API functions for metadata manipulation. The C# code uses Assembly Load Context (ALC) isolation for YamlDotNet to avoid conflicts with other modules. The module supports both traditional hashtable output and an enhanced PSCustomObject mode with full round-trip metadata preservation, as well as strongly-typed deserialization into PowerShell classes inheriting from `YamlBase`. This is a production-quality library with extensive test coverage, active maintenance, and well-documented examples.

RATING: 8.4/10 MAINT: active DRIFT: low
â–¸ 3 reusable components found
cmderdev/cmder ★ 26989 2070 APPLICATION

Cmder is a portable console emulator package for Windows, bundling ConEmu as the terminal emulator, Clink for readline-like enhancements, and Git for Windows for Unix tools. The repository contains a C++ launcher (Cmder.exe) that manages configuration files, registers shell context menus, and launches ConEmu with preconfigured tasks. Initialization scripts (init.bat, profile.ps1, cmder.sh) set up environment variables, PATH, Git integration, aliases, and a custom prompt. The build system uses PowerShell scripts to download and package vendored dependencies. The codebase is well-organized with modular batch libraries and a clean launcher, though much of the logic is tightly coupled to the Cmder directory structure and Windows-specific APIs.

RATING: 8.3/10 MAINT: maintained DRIFT: low
â–¸ 3 reusable components found
PowerShell/vscode-powershell ★ 1910 546 APPLICATION

This repository is the official Visual Studio Code extension for PowerShell (published as ms-vscode.PowerShell). It provides rich language support including IntelliSense, code navigation, formatting, PSScriptAnalyzer linting, debugging with a custom debug adapter, integrated PowerShell console, Pester test runner, ISE compatibility mode, command explorer, help view, alias expansion, remote file editing, and language model tools for AI copilot integration. The extension acts as a Language Server Protocol (LSP) client that communicates with the external PowerShellEditorServices server, and uses the Debug Adapter Protocol for debugging. It supports all major platforms (Windows, macOS, Linux) and multiple PowerShell editions (stable, preview, daily, etc.). The architecture follows a modular feature-class pattern under `src/features/`, with a central `SessionManager` handling the PowerShell process lifecycle and language client connection. The extension is well-tested with unit and integration tests across CI, and its code demonstrates solid TypeScript patterns, clean separation of concerns, and reusable abstractions such as `LanguageClientConsumer` for async LSP client access and `PowerShellExeFinder` for cross-platform PowerShell discovery. While the codebase is actively maintained and keeps pace with VS Code API changes, it contains some deprecated settings and minor complexity in session management. Overall, it is a professional-grade VS Code extension with a few genuinely reusable components that could benefit other extensions or tools dealing with PowerShell or LSP clients.

RATING: 8.3/10 MAINT: active DRIFT: low
â–¸ 3 reusable components found
MichaelGrafnetter/DSInternals ★ 1969 277 APPLICATION

DSInternals is a comprehensive .NET library and PowerShell module for Active Directory security auditing, forensic analysis, and offline/in-place manipulation of AD databases. It provides the ability to extract password hashes (NT, LM, Kerberos), decrypt DPAPI backup keys, recover LAPS and gMSA secrets, parse FIDO2/Windows Hello key credentials, and query DNS zones and signing keys. The library supports multiple access modes: offline via ESENT/ISAM (ntds.dit), online via RPC replication (DRSR), LDAP/ADSI, and SAM/LSA native APIs. The PowerShell module exposes over 50 cmdlets organized into logical groups (ADDB, ADRepl, ADSI, LSA, SAM, Hash, Encryption). The codebase is heavily oriented toward reverse-engineering of Microsoft's internal AD structures and protocols, with extensive unit tests using real-world binary vectors. While the primary use case is security auditing (e.g., penetration testing, incident response), the library also provides utilities for password quality testing, domain controller recovery, and offline account modifications. The architecture is modular, with clear separation between common data models, data store access, replication, and PowerShell cmdlets, making it a robust toolkit for Windows domain administrators and security professionals.

RATING: 8.2/10 MAINT: active DRIFT: medium
â–¸ 5 reusable components found
EvotecIT/PSWriteColor ★ 200 29 APPLICATION

PSWriteColor is a PowerShell module that makes console output easier to scan by letting scripts write text with multiple foreground and background colors, padding, separators, timestamps, and optional log-file output. The core Write-Color function accepts parallel arrays of text and color, interleaves them on a single line, and supports line breaks, padding, and host fallback when RawUI dimensions are unavailable. It is designed for operational scripts that need clear status messages, prompts, or lightweight menus without pulling in a full TUI framework. The module can write to the console and a log file simultaneously, and it degrades gracefully in constrained hosts.

RATING: 8.0/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
$ loading more...
$ submit: