Block download .ps1 files

Hi,
has anyone managed to block the download of .ps1 files using “pattern match” ?
With .exe I have succeeded using the string “%0x4d5a%*” but I can't find anything about how to find the relevant string for .ps1 files.

Thanks

Comments

Sign In to comment.