Rename batch script help

I need a batch script to rename file from
Test.csv_2023-03-24 05-40-09.csv to Test_2023-03-24 05-40-09.csv. Note the datetime stamp will change daily the above is an example

rename "TESTA.txt" "TESTB.txt"

date time stamp stuff can also be taken care of

put this in notepad

save as .BAT file

double click the bat file
or
run it from command prompt or powershell or Visual Studio or VBScript or JScript or anything