Saturday, 1 March 2014

Rename folder/directory from command line

Rename folder\directory from command line using powershell

rename-item –path ‘c:\oldfoldername’ –newname ‘newfoldername’

“I was working with Hyper-V 2012 R2 free deployment in workgroup configuration and found that I had to change user to the built-in administrator account rather than a created administrator account to successfully run this command.”

No comments:

Post a Comment