Skip to content

Research: Evaluate Spectre.Console (PwshSpectreConsole) for Live PowerShell Monitoring Scripts #18

@kristopherjturner

Description

@kristopherjturner

Summary

Research and evaluate Spectre.Console (via the PwshSpectreConsole PowerShell module) as an enhancement to our live terminal monitoring and deployment scripts across all AzureLocal repos.

Background

Currently, our PowerShell scripts across all repos use \Write-Host\ with -ForegroundColor\ for output and status indication. While functional, this approach produces static, line-by-line output that is difficult to read during long-running operations like deployments, health checks, and load tests.

Spectre.Console is a .NET library for building rich interactive terminal UIs. PwshSpectreConsole wraps it as a PowerShell module, making features like live tables, progress bars, spinners, and panels directly available in .ps1\ scripts.

Relevant Scripts (Current \Write-Host\ usage)

Repo Script
\�zurelocal-toolkit\ Deployment and monitoring scripts
\�zurelocal-avd\ Session host provisioning and health scripts
\�zurelocal-sofs-fslogix\ \Test-SOFSDeployment.ps1, \New-SOFSDeployment.ps1\
\�zurelocal-vm-conversion-toolkit\ \

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions