Hello,
I have an issue with moving folders.
simple string like "move-item -path c:\test -destination c:\tmp -force" gives output
Move-Item : Cannot create a file when that file already exists.
At line:1 char:10
+ move-item <<<< -path c:\test -destination C:\tmp -force
+ CategoryInfo : WriteError: (C:\test:DirectoryInfo) [Move-Item], IOException
+ FullyQualifiedErrorId : MoveDirectoryItemIOError,Microsoft.PowerShell.Commands.MoveItemCommand
(folder c:\tmp\test already exist)
I am local administrator, folders could be replaced via cmd or explorer easy.
Where could be an error?
Thank you,
Alexei