Powershell

1 program Added 2025-10-22T09:58:07Z Model: meta-llama/llama-3.1-70b-instructTemp: 0.4 Evidence Report issue View issues
Aliases: PS, PSH, PS1
Provenance: commit 7f508edef1 · authored 2025-10-22T11:58:07+02:00 · model meta-llama/llama-3.1-70b-instruct

Sources mentioning this language

8 sources · pl_id: pl/powershell
LLM (this repo) · 1PldbLinguistPygmentsWikipediaHyperpolyglotRosettacodeWikidata · Q840410

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsimperative · pipeline · object-oriented · functional · reflective
Typingstrong, safe, implicit and dynamic
Designed byMicrosoft · Jeffrey Snover · Bruce Payette · James Truher (et al.)
First appeared2006
Influenced byPython · Shell script · Perl · C# · CL · DCL · SQL · Tcl · Tk · Chef · Puppet
LicenseMIT License (but the Windows component remains proprietary)
Implemented inC#
Homepagehttps://microsoft.com/powershell

Extensions claimed by this language

13 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.ps1linguistprimary4.2M files
.ps1pygmentsprimary4.2M files
.psd1linguistsecondary214.3K files
.psm1linguistsecondary330.4K files
.psm1pygmentssecondary330.4K files
.cdxmlwikipediaproposed8.9K files
.ps1wikipediaproposed4.2M files
.ps1xmlwikipediaproposed19.1K files
.psc1wikipediaproposed65 files
.psd1wikipediaproposed214.3K files
.psm1wikipediaproposed330.4K files
.psrcwikipediaproposed244 files
.psscwikipediaproposed103 files

Related languages

Power Fx (0.19)C Shell (0.17)Nushell (0.17)Zsh (0.17)Powerhouse (0.17)

LLM-contributed programs

Get-ChildItem

Provenance: commit 7f508edef1 · authored 2025-10-22T11:58:07+02:00 · model meta-llama/llama-3.1-70b-instruct · Temp 0.4
code.ps1 · license: MIT · added: 2025-10-22T09:58:07Z
Get-ChildItem -Path C:\Windows\System32\* -Recurse -Force

Real programs from Software Heritage

1 sample mined from derived_datasets/<date>/contents/*.parquet, byte-verified against the SWH archive. Citation-grade qualified SWHIDs preserved.
build_windows_2019_docker_azure.ps1 · 202 B · ext .ps1 · seen 842× in SWH
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 (SWH) · GitHub raw
Show source
./make_unattend_iso.ps1

if (Test-Path ./output-hyperv-iso) {
  Remove-Item -Recurse -Force ./output-hyperv-iso
}
packer build --only=hyperv-iso --var iso_url=./local.iso windows_2019_docker_azure.json

Contribute — propose a file extension

Tell us where to find evidence about Powershell (mapped to pl/powershell). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Powershell/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← PowerPC Assembly powershell-gallery-pm →