Skip to content
CAI
Software that uses CAICheck a score

nightroman/FarNet.FSharp.PowerShell

51.3

Adequate · 3 October 2026

154

lines of production code

F#

primary language

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

FarNet.FSharp.PowerShell is a helper library that provides F\#-friendly wrappers for executing PowerShell Core commands and scripts. It enables F\# projects to interact with PowerShell instances through synchronous and asynchronous methods, handling type conversions and stream management. The system supports both standard NuGet consumption and integration within the Far Manager ecosystem.

Features

Added F\# PowerShell integration samples

New sample scripts demonstrate how to use the FarNet.FSharp.PowerShell library to run PowerShell scripts and commands from F\#, including passing arguments and parameters, handling typed results via InvokeAs, accessing PowerShell streams (warnings/verbose), running asynchronous jobs, and working with F\# records in PowerShell.

samples · high confidence

Initial release of FarNet.FSharp.PowerShell

This change introduces the initial version of the FarNet.FSharp.PowerShell package, a helper library for using PowerShell Core within F\# projects. The release includes the core source code, build scripts, and documentation, establishing support for .NET 10.0 and Microsoft.PowerShell.SDK 7.6.0. It provides F\#-friendly wrappers for PowerShell execution, including lazy type loading and specific conversion logic, and is designed to work both as a standard NuGet package and within the Far Manager ecosystem via FarNet.FSharpFar.

(repo-wide) · high confidence

Introduces F\# wrapper for PowerShell automation

Adds a new F\# module (PS.fs) and configuration file (FarNet.FSharp.PowerShell.ini) that provide a F\#-friendly wrapper around System.Management.Automation. This allows F\# scripts to create PowerShell instances, execute commands and scripts with arguments, and invoke them synchronously or asynchronously, while handling type conversions and error reporting in a way consistent with F\# idioms.

src · high confidence

Test coverage

Initial test suite for PowerShell integration

Added a new test suite in the tests directory to verify the FarNet.FSharp.PowerShell library. The tests cover core PowerShell execution methods (Invoke, InvokeAs, InvokeAsync, InvokeAsyncAs), input handling, error reporting for missing commands, script arguments and parameters, type conversion for F\# records, and output stream handling (warnings/verbose).

tests · high confidence

Dependencies

Introduce .NET 10 projects with PowerShell and xUnit v3 dependencies

Added two new .NET 10.0 project files: a source project for PowerShell integration referencing PowerShellStandard.Library 5.1.1, and a test project referencing Microsoft.PowerShell.SDK 7.5.4 and xUnit v3 3.2.1.

(dependencies) · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 52 → 51 (-0.4)
  • Rubric changed (rubric-2026.09.15 → rubric-2026.10.1) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (+0.0)
  • Architecture 97 → 94 (-2.7)
  • Maturity 38 → 38 (+0.0)
  • Readiness 33 → 33 (+0.0)
  • Security 100 → 100 (+0.0)

Resolved (1)

  • Documentation: no usage examples (README.md)

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

nightroman/FarNet.FSharp.PowerShell was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 3 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 4a25e3f7189397d490ed57336f68cbd9350bd5a9 — the exact code this score is about.
  • Scored under rubric-2026.10.1 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-4f4226d619ea.