$ account PowerShell
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.
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.
This repository is the Microsoft Desired State Configuration (DSC) v3 platform, a cross-platform (Linux, macOS, Windows) configuration management CLI tool written in Rust. It provides a declarative, idempotent system for managing operating system and application settings through resources (e.g., registry, services, firewall, packages) and configuration documents (JSON/YAML). The architecture is a Rust workspace of ~30 crates including the main `dsc` CLI binary, a core library (`dsc-lib`) with resource discovery and invocation, a JSON schema generation library (`dsc-lib-jsonschema`) with VS Code integration, platform abstraction libraries, and many individual resource executables (each a separate binary). It supports adapters for PowerShell and Windows PowerShell, extensions for discovery and secrets, an MCP server for AI tool integration, and Bicep integration via a gRPC server. The codebase is well-engineered with extensive tests, i18n, and consistent patterns, though its large surface area and Windows-specific code present maintenance challenges.