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 - PowerShell (PS1, PSM1, PSD1), reading their comment-based help synopsis, #Requires directives, function and parameter counts, CmdletBinding and Authenticode signing; and batch/command scripts (BAT, CMD), reading the echo state, labels, variables set and the external tools they invoke - all alongside the source.
- 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.