Please enable support for .ps1 files instead of trying to create as a .txt file