Windows Powershell – How to Rename a Folder

I’ve recently switched over to using Powershell and while I’m liking a lot of what I see, my reflexes have yet to catch up. When I go to rename a folder my fingers want to type mv or ren. I get greeted with error text in alarming red and have to take a second to reset my brain into Powershell land. I usually add my tips to Evernote but a friend of mine recently reminded me that blogging is a nice way to share.

Rename-Item <oldname> <newname>

Additional documentation here:

This entry was posted in Technology, Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *