> PS C:\TFTP-Root> dir | rename-item -NewName {$_.name -replace "config","2019-sep-13.txt"}
rename-item : Source and destination path must be different.
At line:1 char:7
+ dir | rename-item -NewName {$_.name -replace "config","2019-sep-13.tx ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (C:\TFTP-Root\Archive:String) [Rename-Item], IOException
+ FullyQualifiedErrorId : RenameItemIOError,Microsoft.PowerShell.Commands.RenameItemCommand