.ps1

1 claimant 1 primary 0 secondary unambiguous primary

SWH popularity

Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.

6.0M
total files
2.9M
first seen 2021–2025 (47.8%)
2021
median year (half its files since)

Case variants in archive: .ps1 (6.0M), .PS1 (18.6K), .Ps1 (640), .pS1 (23) — aggregated above.

Attribution status

This extension is attributed to Powershell as primary by 2 authoritative claims.

Authoritative sources: ✓ Linguist ✓ Pygments ✗ Wikidata · no claim △ Wikipedia · secondary

Disagree or have a correction? Open a labelling issue.

Claimants (3)

Languages that list .ps1 among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
Powershelllinguistprimary
Powershellpygmentsprimary
Powershellwikipediaproposed

Wikidata says… (1)

File formats, image formats, audio codecs and other non-PL entities that claim .ps1 on Wikidata (property P1195) or in the Wikipedia infobox. Source: data/derived/external_extension_index.csv. Click Use as new PL on any row to open the Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata URL, and this extension — one submission creates the PL + claim.
Right entry isn't listed? Add manually ↗
FormatClass (Wikidata P31)Suggested labelMIMENotesAction
PowerShell script Q62625183
file format
file format—application/x-powershell; text/x-powershell—Use as new PL ↗

SWH-mined examples (1)

Real archived programs with this extension, byte-verified against the SWH archive, grouped by predicted language and by how the prediction was made. Useful for deciding what this extension actually is when the attribution is uncertain.
Powershell (1) — 1 via unique-primary
build_windows_2019_docker_azure.ps1 · 202 B · seen 842× in SWH
predicted: Powershell via unique-primary
swh:1:cnt:71d875c83281e22f4551f728437fc8f4f7d037e7;origin=https://github.com/DevOpsBoondoggles/PackerTemplates;anchor=swh:1:rev:773f164f4a7afdfe1205113b475a7645dd10ed69;path=/build_windows_2019_docker_azure.ps1
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .ps1 is, request a fresh mining run.
(or open the pre-filled issue directly)