Analyse a .PS1 file

Home › Formats › .PS1Full

What is a .PS1 file?

PS1 is a Microsoft PowerShell script - a plain-text file of PowerShell commands used to automate administration on Windows, macOS and Linux.

Did you know
  • PowerShell launched in 2006 and went cross-platform and open-source as PowerShell Core in 2016.
  • PowerShell pipes rich .NET objects between commands rather than plain text, which sets it apart from traditional Unix shells.
  • By default Windows blocks running .ps1 scripts, an execution policy meant to stop malicious scripts running by accident.
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 .PS1 file
Drag a .PS1 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 · .PSM1 · .PSD1 · .BAT and more. See all supported file types.