What is a .PSD1 file?
PSD1 is a PowerShell data file, most often a module manifest - a hashtable of metadata such as ModuleVersion, Author and the functions a module exports.
- Did you know
- PSD1 files hold only data (a restricted PowerShell hashtable), so they are safe to read without executing code.
- A .psd1 is just a PowerShell hashtable of data, restricted to safe values so it can be loaded without executing arbitrary code.
- Module manifests in .psd1 tell PowerShell a module's version, author and which commands it makes available.
- 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 .PSD1 file
- Drag a .PSD1 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.