Ps1.txt Here

If you intended to create a PowerShell script but saved it as a .txt file, you should rename it to .ps1 so Windows recognizes it as an executable script. If you want a useful starter script to test functionality, paste this into the file: powershell

The text for a file named ps1.txt typically depends on whether you are trying to create a or a custom terminal prompt . 1. PowerShell Script (Most Common) ps1.txt