View Single Post
  #1  
Old November 20th 08, 12:44 AM posted to microsoft.public.outlook
Craig J. Lindstrom
external usenet poster
 
Posts: 2
Default .ps1 attachment preview with text previewer

How can I get .ps1 files to preview with the built-in text preview handler.
I have unblocked the .ps1 attachments so I can see them (in the registry)
and I have associated the .ps1 extension with the built-in text previewer
but I still get the message "This file cannot be previewed. Try opening the
file in the program in which it was created". I am an instructor and I have
students send their homework in via e-mail. Often times I like to quickly
view the scripts without saving the attachment. This is not a security
risk because you can't execute a powershell script directly anyway. Any
ideas how to solve this one?

Ads