How to append the date on the name of the end of a file in powershell

 

Get-ChildItem C:\Temp\*.zip | ren -NewName { "$($_.BaseName)$(get-date -format "_yyyyMMddhhmmss")$($_.extension) "} 
GD Star Rating
loading...
GD Star Rating
loading...

Tags: append, date, powershell, rename

Trackback from your site.