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) "} 
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...