Skip to content

Instantly share code, notes, and snippets.

@RedTahr
Created February 24, 2020 19:29
Show Gist options
  • Save RedTahr/7f1498f47c3ecb98bd2918eaab56b561 to your computer and use it in GitHub Desktop.
Save RedTahr/7f1498f47c3ecb98bd2918eaab56b561 to your computer and use it in GitHub Desktop.
Preview PowerShell script files in Windows Explorer Preview Pane
# https://www.powershellmagazine.com/2012/09/10/pstip-preview-powershell-script-files-in-windows-explorer-preview-pane/
Set-ItemProperty Registry::HKEY_CLASSES_ROOT\.xml -Name PerceivedType -Value text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment