.PS1 File Extension

File Type 1

Windows PowerShell Cmdlet File

Developer Microsoft
3.9  |  47 Votes
Category Executable Files
Format Text

What is a PS1 file?

A PS1 file is a script, or "cmdlet," used by Windows PowerShell, a Windows shell program built on Microsoft's .NET Framework. It contains a series of commands written in the PowerShell scripting language. PS1 files are similar to .BAT and .CMD files, except that they are executed in Windows PowerShell instead of the Windows CMD.EXE and COMMAND.COM programs.

More Information
Screenshot of a .ps1 file in Windows PowerShell
PS1 file open in Windows PowerShell

Cmdlets can be used to automate Windows tasks. For example, a cmdlet may rename a group of files to use a new file extension. Another cmdlet may examine the Windows registry and output results to a file. Cmdlets also support aliases, pipelines, and named and positional parameters for commands.

How to open a PS1 file

Because a PS1 file is a plain text file, you can open and view it using any text editor, including:

On Windows, you can open and execute PS1 scripts in Windows PowerShell. However, you should be careful when executing PS1 scripts, as they might contain commands that access and alter critical Windows operating system components. Do not execute a PS1 script unless you can verify its legitimacy and source.

Open and view .PS1 files with File Viewer Plus.Free Download

Programs that open PS1 files

Included with OS
Included with OS
Updated July 2, 2020
File Type 2

Microsoft Indexing Service Data File

Developer Microsoft
3.0  |  13 Votes
Category System Files
Format Binary

A PS1 file may also be a system file created by the Microsoft Windows Indexing Service feature, which creates an index of searchable file information. It is commonly created in the C:\​System Volume Information\​catalog.wci\​ directory and contains data that helps the operating system perform quicker searches.

Programs that open or reference PS1 files

Updated May 16, 2011

Verified by FileInfo.com

The FileInfo.com team has independently researched all file formats and software programs listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.