PSModuleQuantityAnalyzer

2026.10.7.652

PSModuleQuantityAnalyzer performs static analysis of PowerShell modules, including their nested modules, and returns metrics about size, complexity, documentation coverage, dependencies and architecture. It finds unused private functions, duplicates and refactoring candidates and exports the results as Markdown or CSV reports.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSModuleQuantityAnalyzer

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PSModuleQuantityAnalyzer

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Holger Zimmermann

Package Details

Author(s)

  • Holger Zimmermann | zimmermann.holger@live.de

Tags

PowerShell Module Metrics StaticAnalysis AST CodeQuality Maintainability Complexity Documentation Dependencies Report

Functions

Get-PSModuleQuantity Get-PSModuleSummary Get-PSModuleMetrics Get-PSModuleHealth Get-PSModuleDuplicateFunctions Get-PSModuleLargestFunctions Get-PSModuleDocumentationCoverage Get-PSModuleDependencyGraph Get-PSModuleNestedModules Get-PSModuleNestedDependencies Get-PSModuleComplexity Get-PSModuleUsedVerbs Get-PSModuleUnusedPrivateFunctions Get-PSModuleRefactoringCandidates Get-PSModuleDependencies Export-PSModuleQuantityReport Export-PSModuleMarkdownReport

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

           
           
v2026.10.7.652
       - Added Get-PSModuleNestedModules: version, function counts and line metrics for the main module and each nested module
       - Added Get-PSModuleNestedDependencies: function calls between the main module and its nested modules
       - Get-PSModuleQuantity returns the new property NestedModule ((main) for the module itself)
       - Verified with Windows PowerShell 5.1 and PowerShell 7

v2026.6.24.721
       - Minor bug fixes and performance improvements

v2026.6.16.1201
       - Added Get-PSModuleDependencies: explicit (manifest), implicit (code) and transitive module dependencies
       - Optional version compatibility check, output as object, console or JSON

v2026.5.8.632
       - Added Get-PSModuleUsedVerbs: verbs used by the functions of a module, with count

v2026.3.22.1040
       - Minor bug fixes and performance improvements

v2026.3.14.420
       - Initial release on the PowerShell Gallery
       - Added Export-PSModuleQuantityReport: export function metrics to a CSV file
       - Added Export-PSModuleMarkdownReport: export a full analysis report as Markdown

v2026.3.11.1221
       - First version with the core analysis functions
       - Added Get-PSModuleQuantity, Get-PSModuleSummary, Get-PSModuleMetrics, Get-PSModuleHealth
       - Added Get-PSModuleDuplicateFunctions, Get-PSModuleLargestFunctions

FileList

Version History

Version Downloads Last updated
2026.10.7.652 (current version) 6 10/7/2026
2026.5.8.632 78 5/8/2026
2026.3.22.1040 21 3/23/2026
2026.3.13.420 13 3/13/2026