How to Preview PowerShell Scripts In PowerShell
Q: When I use Windows Explorer and select a PowerShell script file – I do not see the script in the preview window. Can I fix that? A: You can make a few simple registry updates and do just what you want!