Why is Move-Item putting a folder inside another folder with the same name?
I'm moving the contents of one directory into another with PowerShell. My function builds each destination from the destination path plus the item's name. When a folder with…