microsoft/PowerToys

Add an option in File Explorer to enable Preview of PowerShell files

Open

#18,178 opened on May 9, 2022

View on GitHub
 (4 comments) (0 reactions) (1 assignee)C# (7,978 forks)batch import
Help WantedIdea-EnhancementProduct-File Explorer

Repository metrics

Stars
 (133,154 stars)
PR merge metrics
 (Avg merge 14d 20h) (117 merged PRs in 30d)

Description

Description of the new feature / enhancement

I'd like you to add an option to view (or not) PowerShell files in Filer Explorer.

Proposed layout:

>_ Enable PowerShell preview (.ps1, .psm1, .psd1, .ps1xml, .pssc, .psrc, .cdxml)

Scenario when this would be used?

IT Pros using PowerShell would appreciate a fast way to turn this on.

YES: I know know you can do it manually (https://tfl09.blogspot.com/2021/12/viewing-powershell-files-in-preview.html) which should give you a heads up on the reg keys you need to set to achieve this!

Supporting information

https://tfl09.blogspot.com/2021/12/viewing-powershell-files-in-preview.html

Contributor guide