application/x-powershell
PowerShell script
| Description | PowerShell script |
|---|---|
| File extensions | .ps1 |
| Based on | text/plain |
Frequently asked questions
What is the MIME type application/x-powershell?
application/x-powershell denotes “PowerShell script”.
Which file extension does application/x-powershell use?
Files of type application/x-powershell usually end in .ps1.
How does a web server serve application/x-powershell correctly?
With the header Content-Type: application/x-powershell. In nginx: types { application/x-powershell ps1; }; in Apache: AddType application/x-powershell .ps1.