Skip to content

โšก PowerShell Command Builder

Status: โœ… Live (v3)
URL: aguidetocloud.com/ps-builder/
Accent: Bright terminal green #4ADE80
Pattern: 100% client-side JS, zero API calls
CSS namespace: .psb-* | Body class: page-ps-builder
Built: 2026-04-12 | v2: +20 UX improvements | v3: +14 Round 3 improvements | v3.1: Layout polish (stats in hero, dropdown filters, back-nav bottom)


Overview

A task-first PowerShell command builder for the full Microsoft IT admin stack. Guides users from "What do I want to do?" to a ready-to-run PowerShell command โ€” no syntax memorisation, no AI hallucinations, no sign-up.

Covers 8 modules: Exchange Online, Microsoft Teams, Microsoft Graph (Entra ID), SharePoint (PnP), Azure, Active Directory, Group Policy, and Windows built-in.

Why This Tool Exists

Problem Our Solution
AI generators hallucinate parameters Curated, verified cmdlet data โ€” zero hallucination
Desktop tools cost money / need install 100% free, browser-based, works offline
Existing tools are generic PowerShell Focused on M365 + Azure + Windows admin tasks
Legacy modules mixed with modern Modern modules only (Graph, not AzureAD/MSOnline)
No task-first UX "What do you want to do?" + 68 task recipes
Beginners don't know how to run commands "How to Run This" guide per recipe (install โ†’ connect โ†’ paste โ†’ disconnect)
No one explains piped commands Pipeline step-by-step visual breakdown
No one warns about common pitfalls โš ๏ธ Common Mistakes callout on 12 high-risk recipes

Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                     Hugo Build                        โ”‚
โ”‚                                                       โ”‚
โ”‚  data/ps_builder/       layouts/ps-builder/           โ”‚
โ”‚  โ”œโ”€โ”€ modules.toml  โ”€โ”€โ–ถ  list.html                    โ”‚
โ”‚  โ”œโ”€โ”€ cmdlets.toml  โ”€โ”€โ–ถ  (injects TOML as JSON        โ”‚
โ”‚  โ””โ”€โ”€ recipes.toml  โ”€โ”€โ–ถ   into window.__psBuilderData)โ”‚
โ”‚                                                       โ”‚
โ”‚  static/css/ps-builder.css                            โ”‚
โ”‚  static/js/ps-builder.js                              โ”‚
โ”‚  content/ps-builder/_index.md                         โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   Browser (Client)                    โ”‚
โ”‚                                                       โ”‚
โ”‚  window.__psBuilderData = {                           โ”‚
โ”‚    modules: [...],  // 8 modules                      โ”‚
โ”‚    cmdlets: [...],  // 65 cmdlets with params         โ”‚
โ”‚    recipes: [...]   // 68 task recipes                โ”‚
โ”‚  }                                                    โ”‚
โ”‚                                                       โ”‚
โ”‚  ps-builder.js reads data, renders 3 tabs:            โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                   โ”‚
โ”‚  โ”‚ Recipes โ”‚  Build  โ”‚ Reference  โ”‚                   โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                   โ”‚
โ”‚                                                       โ”‚
โ”‚  localStorage: history (20) + favourites              โ”‚
โ”‚  URL params: shareable state + recipe deep-links      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Data Model

modules.toml (8 modules)

Module Service Category Cmdlets
ExchangeOnlineManagement Exchange Online cloud ~10
MicrosoftTeams Teams cloud ~8
Microsoft.Graph Entra ID / Graph cloud ~10
PnP.PowerShell SharePoint Online cloud ~7
Az Azure cloud ~8
ActiveDirectory On-prem AD onprem ~7
GroupPolicy GPO onprem ~5
Windows Built-in Windows windows ~10

Each module includes: install_command, connect_command, disconnect_command, learn_url, min_version, requires_admin, install_note, category.

cmdlets.toml (65 cmdlets)

Each cmdlet: id, name, module, description, learn_url, last_reviewed, status, tags, parameters[] (name, type, required, description, placeholder, options for selects).

recipes.toml (68 recipes)

Each recipe: id, title, description, service, difficulty, tags, module, command, explanation, prerequisites, related_recipes.


v3 Feature Set (Complete)

Tab 1: Recipes (task-first entry point)

  • "What do you want to do?" search bar with keyboard hint (/ to focus)
  • Dropdown filters โ€” Service (<select>) + Difficulty (<select>) next to search in one compact row (replaced pills in v3.1)
  • ๐Ÿ”ฅ Quick Start โ€” 8 most common tasks as pill buttons
  • โญ My Favourites โ€” starred recipes shown first (localStorage)
  • ๐ŸŽฒ Surprise Me โ€” random recipe discovery
  • View toggle โ€” ๐Ÿ“‹ List / ๐Ÿ“‚ Grouped by Service
  • Search highlighting โ€” matching terms bolded in accent
  • Tags visible on cards โ€” #mailbox, #security, etc.
  • Expand chevrons โ–ธ/โ–พ โ€” clear clickability indicator
  • ๐Ÿ“‹ How to Run This โ€” collapsible guide per recipe (install โ†’ connect โ†’ paste โ†’ disconnect)
  • ๐Ÿ” Pipeline breakdown โ€” step-by-step visual for piped commands
  • โš ๏ธ Common Mistakes โ€” warning callout on 12 high-risk recipes
  • Related Recipes โ€” clickable links to related tasks
  • Copy / Copy + Prerequisites / Download .ps1 / ๐Ÿ”— Share / ๐Ÿ”ง Customise โ†’
  • Recipe deep-links โ€” ?recipe=exo-shared-mailbox-create
  • A3: Export all per service โ€” download all Exchange recipes as one .ps1
  • Suggest a Recipe CTA โ†’ Feedback portal

Tab 2: Build (visual command assembly)

  • Module categories โ€” โ˜๏ธ Cloud / ๐Ÿข On-Prem / ๐Ÿ–ฅ๏ธ Windows filter tabs
  • Step numbers โ€” โ‘  โ‘ก โ‘ข visual progress
  • Module info card โ€” install, connect, docs link, notes
  • Cmdlet search within module
  • Visual parameter form โ€” required highlighted, type-appropriate inputs, tooltips
  • Live auto-preview โ€” command updates as you type (debounced 300ms)
  • โšก Build Command button + Ctrl+Enter shortcut
  • Output โ€” syntax-highlighted with copy/download/share

Tab 3: Reference (lightweight lookup)

  • Searchable across all modules
  • Accordion per module โ€” click to expand
  • Load โ†’ button opens cmdlet in Build tab
  • Docs โ†— link to Microsoft Learn

Global Features

  • Stats banner โ€” 68 recipes ยท 65 cmdlets ยท 8 modules ยท $0
  • Collapsible history with badge count (last 20)
  • FAQ โ€” 8 questions with FAQPage JSON-LD (global schema)
  • Cross-links โ€” Licensing Simplifier, Cert Guides, Prompts, Copilot Readiness
  • Feedback CTA bar
  • Print-friendly CSS โ€” clean recipe cheat sheets
  • URL state โ€” tab, filters, search, module, cmdlet, recipe all in URL
  • Keyboard shortcuts โ€” / search, Enter expand, Ctrl+Enter build
  • Reduced motion support
  • WebApplication + FAQPage + BreadcrumbList JSON-LD schemas

Colour System

:root {
  --psb-accent: #4ADE80;         /* Bright terminal green */
  --psb-accent-hover: #86EFAC;
  --psb-accent-dim: rgba(74, 222, 128, 0.15);
  --psb-accent-glow: rgba(74, 222, 128, 0.25);
}

File Structure

aguidetocloud-revamp/
โ”œโ”€โ”€ content/ps-builder/_index.md          # Hugo page (8 FAQs, SEO)
โ”œโ”€โ”€ layouts/ps-builder/list.html          # Template (3 tabs, stats, quick start)
โ”œโ”€โ”€ static/css/ps-builder.css             # ~20KB, .psb-* namespace
โ”œโ”€โ”€ static/js/ps-builder.js              # ~35KB, IIFE pattern, v3
โ”œโ”€โ”€ data/ps_builder/
โ”‚   โ”œโ”€โ”€ modules.toml                      # 8 modules
โ”‚   โ”œโ”€โ”€ cmdlets.toml                      # 65 cmdlets + params (~51KB)
โ”‚   โ””โ”€โ”€ recipes.toml                      # 68 recipes (~39KB)

Site Integration

Integration Details
Nav dropdown โšก PowerShell Builder in Toolkit
Free Tools page Card with --card-accent: #4ADE80
Body class page-ps-builder in baseof.html
Nav accent Terminal green border in style.css
Back-nav โ†’ "Toolkit"
Feedback CTA Shared partial with tool=ps-builder

Maintenance

Frequency Task
Monthly Review cmdlets for deprecation/new cmdlets
Quarterly Verify MS Learn URLs still valid
On announcement Add new cmdlets if modules update
On feedback Add most-requested recipes via Feedback portal

Data freshness fields

  • last_reviewed on each cmdlet
  • status = "current" | "legacy"
  • module.min_version

Competitive Advantage

Feature AI Generators PSForge PoshGUI Our Tool
Free + web + no signup โœ… โŒ โœ… โœ…
M365 admin focused โŒ Partial โŒ โœ…
Task-first recipes โŒ โŒ โŒ โœ…
"How to Run" beginner guide โŒ โŒ โŒ โœ…
Pipeline visual breakdown โŒ โŒ โŒ โœ…
Common Mistakes warnings โŒ โŒ โŒ โœ…
Favourite recipes โŒ โŒ โŒ โœ…
Recipe deep-links โŒ โŒ โŒ โœ…
No hallucination risk N/A N/A N/A โœ…
Works offline โŒ โœ… โŒ โœ…

Gotchas & Lessons Learned

Gotcha Fix
safeJS required on jsonify Without it, Hugo minifier wraps JSON in backticks = broken
cache_version must be bumped on EVERY JS/CSS deploy CDN (Cloudflare) serves stale files if URL doesn't change
Custom hero (not tool-hero.html partial) Stats bar is inside the hero โ€” can't use the shared partial
Filter pills cause "pill fatigue" with 8+ options Use <select> dropdowns instead โ€” same data, less visual noise
Back-nav at top feels redundant with tabs Move to bottom of page โ€” users need it after browsing, not before
data/ps_builder/ uses underscore (Hugo convention) Content section content/ps-builder/ uses hyphen โ€” both work but naming differs

Version History

Version Date Changes
v1 2026-04-12 Initial build: 3 tabs, 68 recipes, 65 cmdlets, 8 modules
v2 2026-04-12 20 UX improvements: expand chevrons, stats bar, recipe counts, Quick Start, live preview, favourites basics, keyboard shortcuts, deep-links, print CSS
v3 2026-04-12 14 Round 3 improvements: "How to Run" guide, pipeline breakdown, common mistakes, search highlight, tags, grouped view, favourites with localStorage, random recipe, export per service, recipe share, shortcut hints
v3.1 2026-04-12 Layout polish: stats moved into hero (under title, white numbers), crisper subtitle, filter pills replaced with <select> dropdowns next to search (reduces vertical space), back-nav moved from top to bottom. โš ๏ธ Cache bust lesson: always bump cache_version in hugo.toml on JS/CSS deploys