change folder name powershell code example Example: how ro rename a foldre powershell Rename-Item D:\temp\Test D:\temp\Test1