PowerShell Script — PowerShell script file.
Quick facts
What is .ps1
A .ps1 file is a PowerShell Script — PowerShell script file.
In the mime-db registry it has no registered standard MIME type. When serving this file over HTTP, use a Content-Type that matches its actual format.
How to open .ps1 files
Developer info
When served over HTTP, responses should set the following header:
# No standard MIME type is registered for .ps1
Common software that reads/writes .ps1:
Relation chain
Related extensions
Related programming languages
Common uses
How to edit .ps1 files
How to create .ps1 files
Frequently asked questions
Common options include Windows PowerShell, VS Code. You can also open many of these files with built-in viewers or a browser.
Create a new file in any text editor or the app that owns the format and save it with the .ps1 extension.
Sources & standards
Updated 2026-08-18
Explore this reference