Edit a text file on the console using Powershell

I’m trying to figure out the easiest way to edit text files in the console (PowerShell in my case). I’m using Windows 7 64 bit. It galls me that I can’t just type edit filename.txt to edit a file. That used to work, but that’s all changed. What are my options to view and edit text files within the windows console, and if you tell me to install and learn VIM I’m going to punch you in the face. 🙂

Leave a Comment