Analyse a .PSM1 file

Home › Formats › .PSM1Full

What is a .PSM1 file?

PSM1 is a PowerShell script module - a file that groups reusable functions and cmdlets so they can be imported with Import-Module.

Did you know
  • A PSM1 module is usually paired with a PSD1 manifest that declares its version, author and exported commands.
  • A .psm1 module groups related PowerShell functions so they can be shared and imported as a unit.
  • Paired with a .psd1 manifest, a .psm1 forms a proper PowerShell module the Gallery can distribute.
What Analyser shows you
Preview and inspect HTML, CSS, JavaScript, TypeScript, JSON, YAML, XML and Markdown source files, plus Windows scripts. TypeScript (TS, MTS, and .d.ts declaration files) gets a structure readout beside the source: the modules it imports (packages against local files, and which are type-only), the names it exports, what it declares - interfaces, type aliases, enums, classes, functions - a code/comment/blank line breakdown, and how often it steps around the type system with any, as casts, non-null assertions and @ts- suppressions. PowerShell (PS1, PSM1, PSD1) is read for its comment-based help synopsis, #Requires directives, function and parameter counts, CmdletBinding and Authenticode signing; batch/command scripts (BAT, CMD) for the echo state, labels, variables set and the external tools they invoke.
Open a .PSM1 file
Drag a .PSM1 file onto the Analyser home page (or tap to pick one). It opens entirely in your browser - nothing is uploaded, there is no account, and it works offline once installed.
Related formats
.HTML · .CSS · .JS · .TS · .MTS · .TSX · .JSX · .JSON · .YAML · .XML · .MD · .HTM · .MJS · .YML · .TXT · .PS1 · .PSD1 · .BAT and more. See all supported file types.